6.24下午单独场景

This commit is contained in:
2274240467@qq.com 2024-06-24 15:33:21 +08:00
parent e499103b4e
commit 3299d18947
3 changed files with 38062 additions and 7 deletions

File diff suppressed because it is too large Load Diff

View File

@ -36976,7 +36976,7 @@ Transform:
m_GameObject: {fileID: 1987581049}
serializedVersion: 2
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_ConstrainProportionsScale: 0
m_Children: []

View File

@ -16,12 +16,12 @@ public class Screwdriver : MonoBehaviour
public Transform ScrewdriverTrans;
/// <summary>
/// 右边螺丝
/// 接线盒右边螺丝
/// </summary>
public GameObject ScrewR;
/// <summary>
/// 左边螺丝
/// 接线盒左边螺丝
/// </summary>
public GameObject ScrewL;
@ -41,7 +41,7 @@ public class Screwdriver : MonoBehaviour
public GameObject[] concentratorScrew;
/// <summary>
/// 集中器下端螺丝
/// 集中器下端螺丝
/// </summary>
public GameObject[] ScrewObj;
@ -66,7 +66,7 @@ public class Screwdriver : MonoBehaviour
public GameObject[] ConcentratorScrewObj;
/// <summary>
/// 集线器物体
/// 跟换下来的集中器
/// </summary>
public Transform ConcentratorObj;
@ -129,6 +129,7 @@ public class Screwdriver : MonoBehaviour
originalPosition = ScrewdriverTrans.transform.localPosition;
originalRotation = ScrewdriverTrans.transform.localRotation;
}
float weight;
// Update is called once per frame
void Update()