电能表

This commit is contained in:
陈向学 2024-09-05 15:56:23 +08:00
parent bf1eacad77
commit 5a91f10875
4 changed files with 26 additions and 14 deletions

View File

@ -6937,8 +6937,8 @@ BoxCollider:
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 0.154481, y: 0.0841517, z: 0.25103334} m_Size: {x: 0.15143502, y: 0.08120962, z: 0.24823262}
m_Center: {x: 0.000013098121, y: 0.012870543, z: -0.012511089} m_Center: {x: -0.0002512671, y: 0.041110534, z: -0.013091452}
--- !u!114 &4834241782207447596 --- !u!114 &4834241782207447596
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -8087,7 +8087,7 @@ MeshCollider:
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 4 serializedVersion: 4
m_Convex: 1 m_Convex: 0
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: 3704420492699352537, guid: 3022de55b8046f04485b93331386de5f, type: 3} m_Mesh: {fileID: 3704420492699352537, guid: 3022de55b8046f04485b93331386de5f, type: 3}
--- !u!114 &2576541080985544080 --- !u!114 &2576541080985544080

View File

@ -377,7 +377,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 238725083} m_GameObject: {fileID: 238725083}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0.0416, z: 0.009}
m_LocalScale: {x: 0.15237045, y: 0.08276367, z: 0.20296991} m_LocalScale: {x: 0.15237045, y: 0.08276367, z: 0.20296991}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@ -1665,7 +1665,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 0 m_IsActive: 1
--- !u!4 &478648693 --- !u!4 &478648693
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1673,14 +1673,14 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 478648692} m_GameObject: {fileID: 478648692}
m_LocalRotation: {x: 0, y: 0, z: 1, w: 0} m_LocalRotation: {x: -0, y: -0, z: 1, w: 0}
m_LocalPosition: {x: 0.14690018, y: -0.17933655, z: 0.5191498} m_LocalPosition: {x: 0.14690018, y: -0.12649536, z: 0.5191498}
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:
- {fileID: 238725084} - {fileID: 238725084}
m_Father: {fileID: 543450652271447145} m_Father: {fileID: 543450652271447145}
m_RootOrder: 5 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180}
--- !u!65 &478648694 --- !u!65 &478648694
BoxCollider: BoxCollider:
@ -1693,8 +1693,8 @@ BoxCollider:
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 0.15237045, y: 0.08276367, z: 0.20296991} m_Size: {x: 0.15237045, y: 0.083618164, z: 0.20449376}
m_Center: {x: 0.0008945465, y: 0.012161255, z: 0.010730207} m_Center: {x: 0, y: 0.041763306, z: 0.009041309}
--- !u!114 &478648695 --- !u!114 &478648695
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -6324,8 +6324,8 @@ Transform:
- {fileID: 543450652554360468} - {fileID: 543450652554360468}
- {fileID: 6919098456697261524} - {fileID: 6919098456697261524}
- {fileID: 2118256940} - {fileID: 2118256940}
- {fileID: 640886981}
- {fileID: 478648693} - {fileID: 478648693}
- {fileID: 640886981}
- {fileID: 950850338} - {fileID: 950850338}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 4 m_RootOrder: 4
@ -7169,6 +7169,14 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 543450652271447145} m_TransformParent: {fileID: 543450652271447145}
m_Modifications: m_Modifications:
- target: {fileID: 3826880031792330742, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_LocalPosition.x
value: -0.06473
objectReference: {fileID: 0}
- target: {fileID: 3826880031792330742, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_LocalPosition.z
value: -0.10885
objectReference: {fileID: 0}
- target: {fileID: 4675619581299266311, guid: 10f4454f32eb20e4298912d896f6020e, type: 3} - target: {fileID: 4675619581299266311, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: "\u4E09\u76F8\u56DB\u7EBF\u7535\u8868" value: "\u4E09\u76F8\u56DB\u7EBF\u7535\u8868"
@ -7183,7 +7191,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5209635747906703206, guid: 10f4454f32eb20e4298912d896f6020e, type: 3} - target: {fileID: 5209635747906703206, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: -0.17933655 value: -0.1265
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5209635747906703206, guid: 10f4454f32eb20e4298912d896f6020e, type: 3} - target: {fileID: 5209635747906703206, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -7217,6 +7225,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 180 value: 180
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6044607018453959887, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: m_RemovedComponents:
- {fileID: 2921358948653541, guid: 10f4454f32eb20e4298912d896f6020e, type: 3} - {fileID: 2921358948653541, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}
- {fileID: 4834241782207447596, guid: 10f4454f32eb20e4298912d896f6020e, type: 3} - {fileID: 4834241782207447596, guid: 10f4454f32eb20e4298912d896f6020e, type: 3}

View File

@ -95,7 +95,7 @@ public class Device_3Phase4WireMeter : Device_Base
{ {
//盖子盖上 //盖子盖上
cover.isOpen = false; cover.isOpen = false;
cover.transform.localPosition = new Vector3(0.0001220703f, -0.01112366f, -0.09854126f); cover.transform.localPosition = new Vector3(0.0001220703f, 0.04167634f, -0.09854126f);
//左螺丝拧上 //左螺丝拧上
cover.cover_screw_Left.isInstall = true; cover.cover_screw_Left.isInstall = true;
cover.cover_screw_Left.transform.localPosition = new Vector3(cover.cover_screw_Left.transform.localPosition.x, -0.01405334f, -0.1012321f); cover.cover_screw_Left.transform.localPosition = new Vector3(cover.cover_screw_Left.transform.localPosition.x, -0.01405334f, -0.1012321f);

View File

@ -191,7 +191,7 @@ public class Device_Cover : Device_Base
Transform parent = cover_screw_Left.transform.parent; Transform parent = cover_screw_Left.transform.parent;
cover_screw_Left.transform.parent = transform; cover_screw_Left.transform.parent = transform;
cover_screw_Right.transform.parent = transform; cover_screw_Right.transform.parent = transform;
transform.DOLocalMove(new Vector3(transform.localPosition.x, -0.01112366f, -0.09854126f), 2).OnComplete(() => transform.DOLocalMove(new Vector3(transform.localPosition.x, 0.04167634f, -0.09854126f), 2).OnComplete(() =>
{ {
isOpen = false; isOpen = false;
cover_screw_Left.transform.parent = parent; cover_screw_Left.transform.parent = parent;