6.24下午单独场景
This commit is contained in:
parent
e499103b4e
commit
3299d18947
File diff suppressed because it is too large
Load Diff
|
|
@ -36976,7 +36976,7 @@ Transform:
|
||||||
m_GameObject: {fileID: 1987581049}
|
m_GameObject: {fileID: 1987581049}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
|
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
|
||||||
m_LocalPosition: {x: 303.592, y: 1.985, z: 163.232}
|
m_LocalPosition: {x: 303.592, y: 1.985, z: 163.317}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ public class Screwdriver : MonoBehaviour
|
||||||
public Transform ScrewdriverTrans;
|
public Transform ScrewdriverTrans;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 右边螺丝
|
/// 接线盒右边螺丝
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public GameObject ScrewR;
|
public GameObject ScrewR;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 左边螺丝
|
/// 接线盒左边螺丝
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public GameObject ScrewL;
|
public GameObject ScrewL;
|
||||||
|
|
||||||
|
|
@ -41,7 +41,7 @@ public class Screwdriver : MonoBehaviour
|
||||||
public GameObject[] concentratorScrew;
|
public GameObject[] concentratorScrew;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 集中器下端螺丝
|
/// 旧集中器下端螺丝
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public GameObject[] ScrewObj;
|
public GameObject[] ScrewObj;
|
||||||
|
|
||||||
|
|
@ -66,7 +66,7 @@ public class Screwdriver : MonoBehaviour
|
||||||
public GameObject[] ConcentratorScrewObj;
|
public GameObject[] ConcentratorScrewObj;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 集线器物体
|
/// 跟换下来的集中器
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Transform ConcentratorObj;
|
public Transform ConcentratorObj;
|
||||||
|
|
||||||
|
|
@ -129,6 +129,7 @@ public class Screwdriver : MonoBehaviour
|
||||||
originalPosition = ScrewdriverTrans.transform.localPosition;
|
originalPosition = ScrewdriverTrans.transform.localPosition;
|
||||||
originalRotation = ScrewdriverTrans.transform.localRotation;
|
originalRotation = ScrewdriverTrans.transform.localRotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
float weight;
|
float weight;
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue