This commit is contained in:
陈向学 2024-09-04 16:02:47 +08:00
parent 3348ef079e
commit 8a181b9fe8
3 changed files with 7 additions and 6 deletions

View File

@ -27,8 +27,8 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3073654415625698791} m_GameObject: {fileID: 3073654415625698791}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.04237, y: 0.039919, z: 0.007937} m_LocalPosition: {x: -0.045797, y: 0.019552, z: 0.009765}
m_LocalScale: {x: 0.008683327, y: 0.005413064, z: 0.0049419464} m_LocalScale: {x: 0.005143346, y: 0.0108000925, z: 0.011037222}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 6245164410556996414} m_Father: {fileID: 6245164410556996414}
@ -124,8 +124,8 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5592233958541608227} m_GameObject: {fileID: 5592233958541608227}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.04237, y: 0.03992, z: -0.00785} m_LocalPosition: {x: -0.045912, y: 0.01946, z: -0.00974}
m_LocalScale: {x: 0.008683327, y: 0.005413064, z: 0.0049419464} m_LocalScale: {x: 0.00546845, y: 0.0106310025, z: 0.011067621}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 6245164410556996414} m_Father: {fileID: 6245164410556996414}
@ -299,6 +299,7 @@ MonoBehaviour:
_highlight: {fileID: 0} _highlight: {fileID: 0}
deviceType: 9 deviceType: 9
isMoving: 0 isMoving: 0
isInstall: 0
--- !u!114 &6505243128916700906 --- !u!114 &6505243128916700906
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -9000,7 +9000,7 @@ MonoBehaviour:
toolType: 11 toolType: 11
isMoving: 0 isMoving: 0
isInstall: 1 isInstall: 1
installPos: {fileID: 1001054410} installPos: {fileID: 1526406927}
hasElectricity: 0 hasElectricity: 0
initPostionY: 123.3506 initPostionY: 123.3506
--- !u!1 &1856668224 --- !u!1 &1856668224

View File

@ -47,7 +47,7 @@ public class Tool_Spanner : Tool_Base
transform.DOLocalRotate(screw.installPos.localEulerAngles, 0.5f); transform.DOLocalRotate(screw.installPos.localEulerAngles, 0.5f);
transform.DOMove(screw.installPos.position, 1).OnComplete(() => transform.DOMove(screw.installPos.position, 1).OnComplete(() =>
{ {
screw.BeUnInstalled(this); //screw.BeUnInstalled(this);
}); });
} }
} }