This commit is contained in:
高国正 2023-09-14 10:07:11 +08:00
parent 0c0b4a89c1
commit d7f3f58fd4
21 changed files with 797 additions and 125 deletions

View File

@ -196,6 +196,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
targetCamera: {fileID: 0} targetCamera: {fileID: 0}
distanceMultiplier: 0.05 distanceMultiplier: 0.05
button: {fileID: 0}
text: {fileID: 0}
--- !u!1 &6206996800505932347 --- !u!1 &6206996800505932347
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -374,7 +376,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:

View File

@ -241,19 +241,19 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2012348084017257726} m_GameObject: {fileID: 2012348084017257726}
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, z: 0}
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: 2958885068264779190} - {fileID: 2958885068264779190}
- {fileID: 7909258536741902972} - {fileID: 7909258536741902972}
m_Father: {fileID: 6206996800505932346} m_Father: {fileID: 8823023295836545626}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: -3.500061, y: 41.799896}
m_SizeDelta: {x: 137, y: 87} m_SizeDelta: {x: 137, y: 87}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7634819666127899493 --- !u!222 &7634819666127899493
@ -278,7 +278,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 3a3b5242babc65a4c898f644975a9f50, type: 2} m_Material: {fileID: 2100000, guid: 3a3b5242babc65a4c898f644975a9f50, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
@ -392,7 +392,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4568529563820045235} m_GameObject: {fileID: 4568529563820045235}
m_Enabled: 0 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name: m_Name:
@ -471,7 +471,7 @@ MonoBehaviour:
m_margin: {x: 0, y: 0, z: 0, w: 0} m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0 m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0 m_isVolumetricText: 0
m_hasFontAssetChanged: 1 m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0} m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &4981678722631788491 --- !u!1 &4981678722631788491
@ -491,7 +491,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &7036184066493150729 --- !u!224 &7036184066493150729
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -749,7 +749,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
@ -814,7 +814,7 @@ MonoBehaviour:
button: {fileID: 4332229852258479005} button: {fileID: 4332229852258479005}
text: {fileID: 2224874554742167492} text: {fileID: 2224874554742167492}
text1: {fileID: 5390959122517887407} text1: {fileID: 5390959122517887407}
maodian: {fileID: 6206996800505932346} maodian: {fileID: 8823023295836545626}
--- !u!114 &7186680284490958309 --- !u!114 &7186680284490958309
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -937,10 +937,10 @@ RectTransform:
m_GameObject: {fileID: 6206996800505932347} m_GameObject: {fileID: 6206996800505932347}
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, z: 0}
m_LocalScale: {x: 0.02, y: 0.019999998, z: 0.019999998} m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 5099096164770772711} - {fileID: 8823023295836545626}
- {fileID: 6206996799779127824} - {fileID: 6206996799779127824}
- {fileID: 6206996800221561050} - {fileID: 6206996800221561050}
m_Father: {fileID: 6206996799886426826} m_Father: {fileID: 6206996799886426826}
@ -948,9 +948,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0.084800005, y: -0.6023998} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1, y: 1} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 4.74, y: -29.62} m_Pivot: {x: 0, y: 0}
--- !u!223 &6206996800505932326 --- !u!223 &6206996800505932326
Canvas: Canvas:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -960,7 +960,7 @@ Canvas:
m_GameObject: {fileID: 6206996800505932347} m_GameObject: {fileID: 6206996800505932347}
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_RenderMode: 2 m_RenderMode: 0
m_Camera: {fileID: 0} m_Camera: {fileID: 0}
m_PlaneDistance: 100 m_PlaneDistance: 100
m_PixelPerfect: 0 m_PixelPerfect: 0
@ -1012,3 +1012,40 @@ MonoBehaviour:
m_BlockingMask: m_BlockingMask:
serializedVersion: 2 serializedVersion: 2
m_Bits: 4294967295 m_Bits: 4294967295
--- !u!1 &8503406481917361603
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8823023295836545626}
m_Layer: 5
m_Name: maodian
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8823023295836545626
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8503406481917361603}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5099096164770772711}
m_Father: {fileID: 6206996800505932346}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 3.500061, y: -41.8}
m_SizeDelta: {x: 10, y: 10}
m_Pivot: {x: 0.5, y: 0.5}

View File

@ -116,7 +116,7 @@ Material:
m_Colors: m_Colors:
- _BaseColor: {r: 0, g: 0.74509805, b: 1, a: 1} - _BaseColor: {r: 0, g: 0.74509805, b: 1, a: 1}
- _Color: {r: 0, g: 0.74509805, b: 1, a: 1} - _Color: {r: 0, g: 0.74509805, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0.32599604, b: 0.32082152, a: 1} - _EmissionColor: {r: 0, g: 0.6509804, b: 0.6431373, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []
--- !u!114 &4586313418104410923 --- !u!114 &4586313418104410923

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 38514db7389a60c48b975c7fe96a073c guid: 61e67f4ecb09e00469ee46f5172ac7d6
NativeFormatImporter: NativeFormatImporter:
externalObjects: {} externalObjects: {}
mainObjectFileID: 2100000 mainObjectFileID: 2100000

View File

@ -490,6 +490,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -1413,6 +1414,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -5722,6 +5724,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -12320,6 +12323,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -13481,6 +13485,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -15155,6 +15160,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -15847,6 +15853,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -16678,6 +16685,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -18368,6 +18376,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: -90} open_angle: {x: -90, y: 0, z: -90}
another_door: {fileID: 177587018} another_door: {fileID: 177587018}
@ -18384,6 +18393,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: 90} open_angle: {x: -90, y: 0, z: 90}
another_door: {fileID: 177587017} another_door: {fileID: 177587017}
@ -25656,6 +25666,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -27114,6 +27125,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -28503,6 +28515,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -29059,6 +29072,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -33426,6 +33440,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -34362,6 +34377,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -34754,6 +34770,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -36997,6 +37014,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -40868,6 +40886,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: 90} open_angle: {x: -90, y: 0, z: 90}
another_door: {fileID: 1146465872} another_door: {fileID: 1146465872}
@ -42644,6 +42663,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -43310,6 +43330,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -43362,6 +43383,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -46446,6 +46468,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -48848,6 +48871,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -56897,6 +56921,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -67265,6 +67290,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -69137,6 +69163,11 @@ MonoBehaviour:
ID: 0 ID: 0
instruct: {fileID: 55029763} instruct: {fileID: 55029763}
uPosManager: {fileID: 0} uPosManager: {fileID: 0}
--- !u!1 &648510698 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 62768c305813eeb47b2e77173026ef48, type: 3}
m_PrefabInstance: {fileID: 1675120012}
m_PrefabAsset: {fileID: 0}
--- !u!1 &648586373 stripped --- !u!1 &648586373 stripped
GameObject: GameObject:
m_CorrespondingSourceObject: {fileID: 7300452119179566621, guid: c8f09218a803c944e84c2336104ca2f9, type: 3} m_CorrespondingSourceObject: {fileID: 7300452119179566621, guid: c8f09218a803c944e84c2336104ca2f9, type: 3}
@ -69554,6 +69585,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -72065,6 +72097,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -76743,6 +76776,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -77039,6 +77073,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -79757,6 +79792,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -80270,6 +80306,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -81424,6 +81461,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -81898,6 +81936,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -82032,6 +82071,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 65c073f1f8dbbe64da03bf56cea22ae7, type: 3} m_Script: {fileID: 11500000, guid: 65c073f1f8dbbe64da03bf56cea22ae7, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
--- !u!1 &754700592 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 62768c305813eeb47b2e77173026ef48, type: 3}
m_PrefabInstance: {fileID: 611096074}
m_PrefabAsset: {fileID: 0}
--- !u!1 &754903910 stripped --- !u!1 &754903910 stripped
GameObject: GameObject:
m_CorrespondingSourceObject: {fileID: 6725408165822923276, guid: c8f09218a803c944e84c2336104ca2f9, type: 3} m_CorrespondingSourceObject: {fileID: 6725408165822923276, guid: c8f09218a803c944e84c2336104ca2f9, type: 3}
@ -82089,6 +82133,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -86597,6 +86642,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -88948,6 +88994,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -89616,6 +89663,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -90063,6 +90111,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -93288,6 +93337,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -99076,6 +99126,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -99880,6 +99931,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -100802,6 +100854,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -104742,6 +104795,8 @@ MonoBehaviour:
- {fileID: 739408531} - {fileID: 739408531}
- {fileID: 1857144487} - {fileID: 1857144487}
- {fileID: 1399501713} - {fileID: 1399501713}
- {fileID: 648510698}
- {fileID: 754700592}
peiDianShi: peiDianShi:
- {fileID: 291230496} - {fileID: 291230496}
- {fileID: 1810368282} - {fileID: 1810368282}
@ -107634,6 +107689,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -108078,6 +108134,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -109285,6 +109342,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -109895,6 +109953,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -110273,6 +110332,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: 90} open_angle: {x: -90, y: 0, z: 90}
another_door: {fileID: 1460606174} another_door: {fileID: 1460606174}
@ -111410,6 +111470,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -111800,6 +111861,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -115806,6 +115868,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -119131,6 +119194,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -121579,6 +121643,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -122105,6 +122170,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -123582,6 +123648,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -124653,6 +124720,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: -90} open_angle: {x: -90, y: 0, z: -90}
another_door: {fileID: 393557833} another_door: {fileID: 393557833}
@ -124747,6 +124815,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -127297,6 +127366,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -129360,6 +129430,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -134630,6 +134701,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: 90} open_angle: {x: 0, y: 0, z: 90}
another_door: {fileID: 1693561725} another_door: {fileID: 1693561725}
@ -146633,6 +146705,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -150205,6 +150278,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -150495,6 +150569,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -151858,6 +151933,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -152584,6 +152660,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -154859,6 +154936,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 1461913098} another_door: {fileID: 1461913098}
@ -156384,6 +156462,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: -90, y: 0, z: 0} close_angle: {x: -90, y: 0, z: 0}
open_angle: {x: -90, y: 0, z: -90} open_angle: {x: -90, y: 0, z: -90}
another_door: {fileID: 1015953181} another_door: {fileID: 1015953181}
@ -156515,6 +156594,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: 90} open_angle: {x: 0, y: 0, z: 90}
another_door: {fileID: 1447700244} another_door: {fileID: 1447700244}
@ -160149,6 +160229,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -163317,6 +163398,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -165150,6 +165232,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -165655,6 +165738,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -172167,6 +172251,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -179500,6 +179585,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -180522,6 +180608,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 1232806718} another_door: {fileID: 1232806718}
@ -187604,6 +187691,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -187976,6 +188064,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -189615,6 +189704,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -190425,6 +190515,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -193928,6 +194019,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -195178,6 +195270,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -195428,7 +195521,7 @@ MonoBehaviour:
xlz_sc: xlz_sc:
xllx_sc: xllx_sc:
arguments: arguments:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTQ2NTM0ODQsInVzZXJuYW1lIjoiMTgzMTIzNDU2NzgifQ.dhJdReSewAxx3MlRl5e-ZPRHal75VdcWcPFe94VYZYs token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTQ2OTcxMjEsInVzZXJuYW1lIjoiMTgzMTIzNDU2NzgifQ.DU-CMUu87u2EZLScKoV5NIkoxfG013lNs9nrIh-HCZI
heatThresholdValueMax: 38 heatThresholdValueMax: 38
heatThresholdValueMin: 26 heatThresholdValueMin: 26
humidityThresholdValueMax: 90 humidityThresholdValueMax: 90
@ -195571,6 +195664,7 @@ MonoBehaviour:
stagingPanel: {fileID: 803679558} stagingPanel: {fileID: 803679558}
objectToShow: {fileID: 6712461312143127082} objectToShow: {fileID: 6712461312143127082}
objectToShow_add: {fileID: 90559733} objectToShow_add: {fileID: 90559733}
roomDoors: []
--- !u!4 &1815567664 --- !u!4 &1815567664
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -196329,6 +196423,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -198873,6 +198968,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -199621,6 +199717,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -199687,6 +199784,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -201753,6 +201851,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -202973,6 +203072,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -207861,6 +207961,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -208603,6 +208704,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -212942,6 +213044,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -213516,6 +213619,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -213784,6 +213888,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -215191,6 +215296,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -220178,6 +220284,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -221751,6 +221858,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -222639,6 +222747,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -223483,6 +223592,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clickEventLens: [] clickEventLens: []
scaleUI: {fileID: 0} scaleUI: {fileID: 0}
lensUI_tranform: {fileID: 0}
lensUI: {fileID: 0} lensUI: {fileID: 0}
button: {fileID: 0} button: {fileID: 0}
text: {fileID: 0} text: {fileID: 0}
@ -224017,6 +224127,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -226968,6 +227079,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -229176,6 +229288,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
is_open: 0 is_open: 0
is_rotating: 0
close_angle: {x: 0, y: 0, z: 0} close_angle: {x: 0, y: 0, z: 0}
open_angle: {x: 0, y: 0, z: -90} open_angle: {x: 0, y: 0, z: -90}
another_door: {fileID: 0} another_door: {fileID: 0}
@ -292226,6 +292339,7 @@ MonoBehaviour:
sb_bj_page: {fileID: 4362348816834021968} sb_bj_page: {fileID: 4362348816834021968}
dk_xz_page: {fileID: 4362348817005860676} dk_xz_page: {fileID: 4362348817005860676}
dk_bj_page: {fileID: 2126159577475600051} dk_bj_page: {fileID: 2126159577475600051}
huaXian: {fileID: 2126159576915401760}
xianlan: {fileID: 1168817491} xianlan: {fileID: 1168817491}
uiToCabinet: {fileID: 4362348816482923669} uiToCabinet: {fileID: 4362348816482923669}
xunJianImg: {fileID: 1453142316} xunJianImg: {fileID: 1453142316}

View File

@ -217,7 +217,7 @@ public class SearchName : MonoBehaviour
} }
//TransparentGlowManage.Inst.transparencyALL(t.ToArray()); //TransparentGlowManage.Inst.transparencyALL(t.ToArray());
CreateLine createLine = PatternChoose.Inst.transform.Find("ť­Ďß").GetComponent<CreateLine>(); CreateLine createLine = PatternChoose.Inst.huaXian;
//var lines = createLine.xianLan.Find(objs[i].GetComponent<PortQuery>().portList.remark).GetComponent<LineInfor>().lines; //var lines = createLine.xianLan.Find(objs[i].GetComponent<PortQuery>().portList.remark).GetComponent<LineInfor>().lines;
@ -350,7 +350,7 @@ public class SearchName : MonoBehaviour
Dictionary<string, string> dic = new Dictionary<string, string>(); Dictionary<string, string> dic = new Dictionary<string, string>();
CreateLine createLine = PatternChoose.Inst.transform.Find("ť­Ďß").GetComponent<CreateLine>(); CreateLine createLine = PatternChoose.Inst.huaXian;
for (int i = 0; i < createLine.list7.Count; i++) for (int i = 0; i < createLine.list7.Count; i++)
{ {

View File

@ -26,49 +26,83 @@ public class RoomDoor : MonoBehaviour
private void OnMouseDown() private void OnMouseDown()
{ {
if (!EventSystem.current.IsPointerOverGameObject() && is_open) if (!EventSystem.current.IsPointerOverGameObject())
{ {
DoorClose(); if (is_open)
} {
else DoorClose();
{ }
DoorOpen(); else
{
DoorOpen();
}
} }
} }
public void DoorOpen() /// <summary>
///
/// </summary>
/// <param name="_force_open"> ÊÇ·ñÇ¿ÖÆ´ò¿ª</param>
public void DoorOpen(bool _force_open = false)
{ {
if (!is_rotating) if (_force_open)
{ {
Debug.Log("开开始"); DOTween.Kill(transform);
//DOTween.Kill(transform, false);
is_rotating = true; is_rotating = true;
//DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, open_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = true; }); //DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, open_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = true; });
transform.DOLocalRotate(open_angle, 0.5f).OnComplete(() => transform.DOLocalRotate(open_angle, 0.5f).OnComplete(() =>
{ {
Debug.Log("开结束");
is_rotating = false; is_open = true; is_rotating = false; is_open = true;
}); });
if (another_door) if (another_door)
another_door.DoorOpen(); another_door.DoorOpen();
} }
else
{
if (!is_rotating)
{
//DOTween.Kill(transform, false);
is_rotating = true;
//DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, open_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = true; });
transform.DOLocalRotate(open_angle, 0.5f).OnComplete(() =>
{
is_rotating = false; is_open = true;
});
if (another_door)
another_door.DoorOpen();
}
}
} }
public void DoorClose() public void DoorClose(bool _force_close = false)
{ {
if (!is_rotating) if (_force_close)
{ {
Debug.Log("关开始"); DOTween.Kill(transform);
//DOTween.Kill(transform, false);
is_rotating = true; is_rotating = true;
//DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, close_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = false; }); //DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, close_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = false; });
transform.DOLocalRotate(close_angle, 0.5f).OnComplete(() => transform.DOLocalRotate(close_angle, 0.5f).OnComplete(() =>
{ {
Debug.Log("关结束");
is_rotating = false; is_open = false; is_rotating = false; is_open = false;
}); });
if (another_door) if (another_door)
another_door.DoorClose(); another_door.DoorClose();
} }
else
{
if (!is_rotating)
{
//DOTween.Kill(transform, false);
is_rotating = true;
//DOTween.To(() => transform.localEulerAngles, v => transform.localEulerAngles = v, close_angle, 0.5f).OnComplete(() => { is_rotating = false; is_open = false; });
transform.DOLocalRotate(close_angle, 0.5f).OnComplete(() =>
{
is_rotating = false; is_open = false;
});
if (another_door)
another_door.DoorClose();
}
}
} }
} }

View File

@ -70,7 +70,7 @@ public class UIToCabinet : MonoBehaviour
return; return;
if (ison) if (ison)
{ {
CreateLine createLine = PatternChoose.Inst.transform.Find("»­Ïß").GetComponent<CreateLine>(); CreateLine createLine = PatternChoose.Inst.huaXian;
UI_init(); UI_init();
Debug.Log("第" + index); Debug.Log("第" + index);
@ -203,7 +203,7 @@ public class UIToCabinet : MonoBehaviour
{ {
init(Menu.M_数字孪生_线缆连接_展示); init(Menu.M_数字孪生_线缆连接_展示);
//ExtendedFlycam.Inst.QuanJing(); //ExtendedFlycam.Inst.QuanJing();
//CreateLine createLine = PatternChoose.Inst.transform.Find("»­Ïß").GetComponent<CreateLine>(); //CreateLine createLine = PatternChoose.Inst.huaXian;
createLine.OnMenuChanged(Menu.M_数字孪生_线缆连接_展示); createLine.OnMenuChanged(Menu.M_数字孪生_线缆连接_展示);
ExtendedFlycam.Inst.QieHuan(Menu.M_数字孪生_线缆连接_展示); ExtendedFlycam.Inst.QieHuan(Menu.M_数字孪生_线缆连接_展示);
CabinetUIManager.ChangeMenu(Menu.M_数字孪生_线缆连接_展示); CabinetUIManager.ChangeMenu(Menu.M_数字孪生_线缆连接_展示);
@ -213,7 +213,7 @@ public class UIToCabinet : MonoBehaviour
{ {
init(Menu.M_数字孪生_场景管理); init(Menu.M_数字孪生_场景管理);
//ExtendedFlycam.Inst.QuanJing(); //ExtendedFlycam.Inst.QuanJing();
GameManager.Inst.power_open(); //GameManager.Inst.power_open();
//GameManager.Inst.objectToShow_add.SetActive(true); //GameManager.Inst.objectToShow_add.SetActive(true);
var SN1 = GameManager.Inst.objectToShow_add.GetComponent<SearchName1>(); var SN1 = GameManager.Inst.objectToShow_add.GetComponent<SearchName1>();
SN1.hide_menu(); SN1.hide_menu();
@ -287,7 +287,7 @@ public class UIToCabinet : MonoBehaviour
{ {
init(Menu.M_数字孪生_线缆连接_配置); init(Menu.M_数字孪生_线缆连接_配置);
//ExtendedFlycam.Inst.QuanJing(); //ExtendedFlycam.Inst.QuanJing();
GameManager.Inst.power_open(); //GameManager.Inst.power_open();
ExtendedFlycam.Inst.QieHuan(Menu.M_数字孪生_线缆连接_配置); ExtendedFlycam.Inst.QieHuan(Menu.M_数字孪生_线缆连接_配置);
CabinetUIManager.ChangeMenu(Menu.M_数字孪生_线缆连接_配置); CabinetUIManager.ChangeMenu(Menu.M_数字孪生_线缆连接_配置);
} }
@ -392,7 +392,7 @@ public class UIToCabinet : MonoBehaviour
if (WebInteraction.Inst.isWorkPlay && menu != Menu.M_全景监控_现场作业) if (WebInteraction.Inst.isWorkPlay && menu != Menu.M_全景监控_现场作业)
WebInteraction.Inst.CloseTicket(); WebInteraction.Inst.CloseTicket();
CreateLine createLine = PatternChoose.Inst.transform.Find("»­Ïß").GetComponent<CreateLine>(); CreateLine createLine = PatternChoose.Inst.huaXian;
if (!CheckAllChildrenActive(createLine.gameObject) && menu != Menu.M_数字孪生_线缆连接_展示) if (!CheckAllChildrenActive(createLine.gameObject) && menu != Menu.M_数字孪生_线缆连接_展示)
{ {
for (int i = 0; i < createLine.transform.childCount; i++) for (int i = 0; i < createLine.transform.childCount; i++)

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

View File

@ -0,0 +1,134 @@
fileFormatVersion: 2
guid: 98491c35edffacc4db7b3b3979dbb7fa
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -0,0 +1,134 @@
fileFormatVersion: 2
guid: 1831980f7ab6c1848b5dfb3a3cf2201a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

View File

@ -0,0 +1,134 @@
fileFormatVersion: 2
guid: c6b95884f8672b84da447b6fe42c473a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1139,7 +1139,7 @@ public class GameManager : MonoBehaviour
})/*.Select(item => item.gameObject).ToArray()*/; })/*.Select(item => item.gameObject).ToArray()*/;
var P_list = FindObjectGroups(pqs.ToList()); var P_list = FindObjectGroups(pqs.ToList());
CreateLine createLine = PatternChoose.Inst.transform.Find("画线").GetComponent<CreateLine>(); CreateLine createLine = PatternChoose.Inst.huaXian.GetComponent<CreateLine>();
createLine.list7.Clear(); createLine.list7.Clear();
foreach (var item in P_list) foreach (var item in P_list)
@ -1514,7 +1514,8 @@ public class GameManager : MonoBehaviour
for (int i = 0; i < roomDoors.Count; i++) for (int i = 0; i < roomDoors.Count; i++)
{ {
roomDoors[i].DoorClose(); if (roomDoors[i].is_open)
roomDoors[i].DoorClose(true);
} }
} }
@ -1558,7 +1559,8 @@ public class GameManager : MonoBehaviour
for (int i = 0; i < roomDoors.Count; i++) for (int i = 0; i < roomDoors.Count; i++)
{ {
roomDoors[i].DoorOpen(); if(!roomDoors[i].is_open)
roomDoors[i].DoorOpen(true);
} }
} }
@ -1568,7 +1570,6 @@ public class GameManager : MonoBehaviour
/// <param name="cabinet"></param> /// <param name="cabinet"></param>
public void power_open(GameObject cabinet, string type) public void power_open(GameObject cabinet, string type)
{ {
Debug.Log("开开始112312321");
#region old #region old
//if (type == "前门") //if (type == "前门")
//{ //{
@ -1627,31 +1628,31 @@ public class GameManager : MonoBehaviour
{ {
if (doors.Length > 2) if (doors.Length > 2)
{ {
cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorOpen(true);
cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorOpen(true);
} }
else else
{ {
cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorOpen(true);
} }
} }
else if (type == "后门") else if (type == "后门")
{ {
if (doors.Length > 2) if (doors.Length > 2)
{ {
cabinet.transform.GetChild(2).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(2).GetComponent<RoomDoor>().DoorOpen(true);
cabinet.transform.GetChild(3).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(3).GetComponent<RoomDoor>().DoorOpen(true);
} }
else else
{ {
cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorOpen(); cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorOpen(true);
} }
} }
else if (type == "全开") else if (type == "全开")
{ {
for (int i = 0; i < doors.Length; i++) for (int i = 0; i < doors.Length; i++)
{ {
doors[i].DoorOpen(); doors[i].DoorOpen(true);
} }
} }
} }
@ -1724,31 +1725,31 @@ public class GameManager : MonoBehaviour
{ {
if (doors.Length > 2) if (doors.Length > 2)
{ {
cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorClose(true);
cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorClose(true);
} }
else else
{ {
cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(0).GetComponent<RoomDoor>().DoorClose(true);
} }
} }
else if (type == "后门") else if (type == "后门")
{ {
if (doors.Length > 2) if (doors.Length > 2)
{ {
cabinet.transform.GetChild(2).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(2).GetComponent<RoomDoor>().DoorClose(true);
cabinet.transform.GetChild(3).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(3).GetComponent<RoomDoor>().DoorClose(true);
} }
else else
{ {
cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorClose(); cabinet.transform.GetChild(1).GetComponent<RoomDoor>().DoorClose(true);
} }
} }
else if (type == " 全开") else if (type == " 全开")
{ {
for (int i = 0; i < doors.Length; i++) for (int i = 0; i < doors.Length; i++)
{ {
doors[i].DoorClose(); doors[i].DoorClose(true);
} }
} }
} }

View File

@ -48,6 +48,7 @@ public class PatternChoose : MonoBehaviour
/// 端口编辑窗口 /// 端口编辑窗口
/// </summary> /// </summary>
public GameObject dk_bj_page; public GameObject dk_bj_page;
public CreateLine huaXian;
/// <summary> /// <summary>
/// 线缆 /// 线缆
/// </summary> /// </summary>

View File

@ -9,7 +9,8 @@ public class ClickEventLens : MonoBehaviour
{ {
public List<ClickEventLens> clickEventLens = new List<ClickEventLens>(); public List<ClickEventLens> clickEventLens = new List<ClickEventLens>();
public AutoScaleUI scaleUI; public AutoScaleUI scaleUI;
public Transform lensUI; public Transform lensUI_tranform;
public LensUI lensUI;
public static Transform Camera; public static Transform Camera;
@ -24,8 +25,9 @@ public class ClickEventLens : MonoBehaviour
{ {
mycollider = gameObject.GetComponent<MeshCollider>(); mycollider = gameObject.GetComponent<MeshCollider>();
clickEventLens = GameObject.FindObjectsOfType<ClickEventLens>().ToList(); clickEventLens = GameObject.FindObjectsOfType<ClickEventLens>().ToList();
lensUI = transform.GetChild(0); lensUI_tranform = transform.GetChild(0);
scaleUI = lensUI.GetComponent<AutoScaleUI>(); lensUI = lensUI_tranform.GetComponent<LensUI>();
scaleUI = lensUI_tranform.GetComponent<AutoScaleUI>();
button = scaleUI.button; button = scaleUI.button;
text = scaleUI.text; text = scaleUI.text;
material = GetComponent<Renderer>().materials[0]; material = GetComponent<Renderer>().materials[0];
@ -45,19 +47,20 @@ public class ClickEventLens : MonoBehaviour
else else
mycollider.enabled = false; mycollider.enabled = false;
} }
lensUI.eulerAngles = Camera.eulerAngles; lensUI_tranform.eulerAngles = Camera.eulerAngles;
} }
private void OnMouseEnter() private void OnMouseEnter()
{ {
lensUI.gameObject.SetActive(true); lensUI_tranform.gameObject.SetActive(true);
lensUI.maodian.position = Input.mousePosition;
if (!isplay) if (!isplay)
ChangeMaterialColor(gameObject, 1); ChangeMaterialColor(gameObject, 1);
} }
private void OnMouseExit() private void OnMouseExit()
{ {
lensUI.gameObject.SetActive(false); lensUI_tranform.gameObject.SetActive(false);
if (!isplay) if (!isplay)
ChangeMaterialColor(gameObject, 99); ChangeMaterialColor(gameObject, 99);
} }

View File

@ -41,7 +41,7 @@ public class LensUI : CabinetUIBase
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
maodian.transform.eulerAngles = Camera.eulerAngles; //maodian.transform.eulerAngles = Camera.eulerAngles;
} }
public override void OnMenuChanged(Menu menu) public override void OnMenuChanged(Menu menu)

View File

@ -679,59 +679,70 @@ public class ClickEvent : MonoBehaviour
if (Menu.M_全景监控_柜门状态 != CabinetUIManager.Instance.current_menu) if (Menu.M_全景监控_柜门状态 != CabinetUIManager.Instance.current_menu)
{ {
#region old
//if (isZoomin)
//{
// for (int i = 0; i < GameManager.Inst.Cabinets_go.Count; i++)
// {
// if (cabine == GameManager.Inst.Cabinets_go[i])
// {
// if (cabine.transform.Find("门把手") == null || GameManager.Inst.Cabinets_go[i].transform.Find("门把手") == null)
// continue;
// var door = cabine.transform.Find("门把手").GetComponentInChildren<Door>(true);
// GameManager.Inst.power_open(cabine, "全开");
// //door.TextMeshProUGUI.text = "关门";
// door.isopen = !door.isopen;
// }
// else if (cabine && cabine != GameManager.Inst.Cabinets_go[i])
// {
// if (GameManager.Inst.Cabinets_go[i].transform.Find("门把手") == null ||
// !GameManager.Inst.Cabinets_go[i].activeSelf)
// continue;
// var door = GameManager.Inst.Cabinets_go[i].transform.Find("门把手").GetComponentInChildren<Door>(true);
// GameManager.Inst.power_close(GameManager.Inst.Cabinets_go[i], "全关");
// //door.TextMeshProUGUI.text = "开门";
// door.isopen = !door.isopen;
// }
// }
// for (int i = 0; i < GameManager.Inst.Racks_go.Count; i++)
// {
// if (!GameManager.Inst.Racks_go[i].activeSelf)
// continue;
// if (GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "6" ||
// GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "7")
// GameManager.Inst.Racks_go[i].transform.Find("前盖").gameObject.SetActive(false);
// }
//}
//else
//{
// if (cabine && cabine == gameObject && cabine.transform.Find("门把手"))
// {
// var door = cabine.transform.Find("门把手").GetComponentInChildren<Door>(true);
// //if (door.TextMeshProUGUI.text == "开门") return;
// GameManager.Inst.power_close(cabine, "全关");
// //door.TextMeshProUGUI.text = "开门";
// door.isopen = !door.isopen;
// }
// for (int i = 0; i < GameManager.Inst.Racks_go.Count; i++)
// {
// if (GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "6" ||
// GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "7")
// GameManager.Inst.Racks_go[i].transform.Find("前盖").gameObject.SetActive(true);
// }
//}
#endregion
if (isZoomin) if (isZoomin)
{ {
for (int i = 0; i < GameManager.Inst.Cabinets_go.Count; i++) GameManager.Inst.power_close();
{ GameManager.Inst.power_open(cabine, "全开");
if (cabine == GameManager.Inst.Cabinets_go[i])
{
if (cabine.transform.Find("门把手") == null || GameManager.Inst.Cabinets_go[i].transform.Find("门把手") == null)
continue;
var door = cabine.transform.Find("门把手").GetComponentInChildren<Door>(true);
GameManager.Inst.power_open(cabine, "全开");
//door.TextMeshProUGUI.text = "关门";
door.isopen = !door.isopen;
}
else if (cabine && cabine != GameManager.Inst.Cabinets_go[i])
{
if (GameManager.Inst.Cabinets_go[i].transform.Find("门把手") == null ||
!GameManager.Inst.Cabinets_go[i].activeSelf)
continue;
var door = GameManager.Inst.Cabinets_go[i].transform.Find("门把手").GetComponentInChildren<Door>(true);
GameManager.Inst.power_close(GameManager.Inst.Cabinets_go[i], "全关");
//door.TextMeshProUGUI.text = "开门";
door.isopen = !door.isopen;
}
}
for (int i = 0; i < GameManager.Inst.Racks_go.Count; i++)
{
if (!GameManager.Inst.Racks_go[i].activeSelf)
continue;
if (GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "6" ||
GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "7")
GameManager.Inst.Racks_go[i].transform.Find("前盖").gameObject.SetActive(false);
}
} }
else else
{ {
if (cabine && cabine == gameObject && cabine.transform.Find("门把手")) GameManager.Inst.power_close();
{
var door = cabine.transform.Find("门把手").GetComponentInChildren<Door>(true);
//if (door.TextMeshProUGUI.text == "开门") return;
GameManager.Inst.power_close(cabine, "全关");
//door.TextMeshProUGUI.text = "开门";
door.isopen = !door.isopen;
}
for (int i = 0; i < GameManager.Inst.Racks_go.Count; i++)
{
if (GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "6" ||
GameManager.Inst.Racks_go[i].GetComponent<DeviceQuery>().deviceList.modelNum == "7")
GameManager.Inst.Racks_go[i].transform.Find("前盖").gameObject.SetActive(true);
}
} }
} }
} }

View File

@ -159,7 +159,7 @@ public class CreateLine : CabinetUIBase
catch (Exception e) catch (Exception e)
{ {
Debug.Log("匹配线缆颜色错误 " + e.Message + "\n" + e.StackTrace); Debug.Log("匹配线缆颜色错误 " + e.Message + "\n" + e.StackTrace);
return; init(lineColor);
} }
List<Vector3> vector3s = new List<Vector3>(); List<Vector3> vector3s = new List<Vector3>();
@ -249,15 +249,12 @@ public class CreateLine : CabinetUIBase
{ {
init(x); init(x);
}); });
//HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) =>
//{
// lineRenderer.endColor = x;
//});
} }
catch (Exception e) catch (Exception e)
{ {
Debug.Log("匹配线缆颜色错误 " + e.Message + "\n" + e.StackTrace); Debug.Log("匹配线缆颜色错误 " + e.Message + "\n" + e.StackTrace);
return; init(lineColor);
} }
List<Vector3> vector3s = new List<Vector3>(); List<Vector3> vector3s = new List<Vector3>();

View File

@ -10,7 +10,7 @@ using UnityEngine.UI;
[Serializable] [Serializable]
public class LineInfor : MonoBehaviour public class LineInfor : MonoBehaviour
{ {
InputField t; //InputField t;
[HideInInspector] public Root root; [HideInInspector] public Root root;
public List<Transform> lines = new List<Transform>(); public List<Transform> lines = new List<Transform>();
@ -20,9 +20,30 @@ public class LineInfor : MonoBehaviour
LineRenderer lineRenderer; LineRenderer lineRenderer;
public float speed = 1f; // 线流动的速度
private Material material;
private Vector2 tiling;
private Vector2 offset;
private int mainTexProperty;
// 线长
[SerializeField] private float lineLen;
// 密度
[SerializeField]
private float density = 2f;
// 定时器
[SerializeField] private float timer = 0;
// 频率间隔
[SerializeField]
private float frequency = 0.03f;
//爬行速度
[SerializeField]
private float moveSpeed = 0.04f;
private void Awake() private void Awake()
{ {
lineRenderer = GetComponent<LineRenderer>(); lineRenderer = GetComponent<LineRenderer>();
//if (PlayerPrefs.HasKey(this.root.myID)) //if (PlayerPrefs.HasKey(this.root.myID))
//{ //{
// string json = PlayerPrefs.GetString(root.myID); // string json = PlayerPrefs.GetString(root.myID);
@ -31,8 +52,36 @@ public class LineInfor : MonoBehaviour
// this.root.otherID = myObject.otherID; // this.root.otherID = myObject.otherID;
//} //}
} }
private void Start()
{
//// 缓存材质实例
//material = lineRenderer.material;
//// 缓存属性id防止下面设置属性的时候重复计算名字的哈希
//mainTexProperty = Shader.PropertyToID("_MainTex");
//tiling = new Vector2(20, 0);
//offset = new Vector2(0, 0);
//// 设置Tiling
//material.SetTextureScale(mainTexProperty, tiling);
//// 设置Offset
//material.SetTextureOffset(mainTexProperty, offset);
//lineLen = (lineRenderer.GetPosition(1) - lineRenderer.GetPosition(0)).magnitude;
//// 根据线段长度计算Tiling
//tiling = new Vector2(lineLen * density, 0);
//// 设置Tiling
//material.SetTextureScale(mainTexProperty, tiling);
}
private void Update() private void Update()
{ {
//if (portType == "电缆线")
//{
// run_line();
//}
//if (!string.IsNullOrEmpty(root.otherID)) return; //if (!string.IsNullOrEmpty(root.otherID)) return;
//root.otherID = t.text; //root.otherID = t.text;
//if (string.IsNullOrEmpty(root.otherID)) return; //if (string.IsNullOrEmpty(root.otherID)) return;
@ -41,7 +90,7 @@ public class LineInfor : MonoBehaviour
//PlayerPrefs.SetString(root.myID, json); //PlayerPrefs.SetString(root.myID, json);
//PlayerPrefs.Save(); //PlayerPrefs.Save();
if (GameManager.Inst.magnifyState) if (GameManager.Inst.magnifyState)
{ {
if (lineRenderer.startWidth == lineWidth_min) if (lineRenderer.startWidth == lineWidth_min)
return; return;
@ -55,6 +104,27 @@ public class LineInfor : MonoBehaviour
} }
} }
public void run_line()
{
// 计算线长度
lineLen = (lineRenderer.GetPosition(1) - lineRenderer.GetPosition(0)).magnitude;
// 根据线段长度计算Tiling
tiling = new Vector2(lineLen * density, 0);
// 设置Tiling
material.SetTextureScale(mainTexProperty, tiling);
timer += Time.deltaTime;
if (timer >= frequency)
{
timer = 0;
offset -= new Vector2(moveSpeed, 0);
material.SetTextureOffset(mainTexProperty, offset);
}
}
[ContextMenu("查看PlayerPrefs")] [ContextMenu("查看PlayerPrefs")]
void PrintAllPlayerPrefs() void PrintAllPlayerPrefs()
{ {
@ -64,7 +134,7 @@ public class LineInfor : MonoBehaviour
// 遍历所有的键 // 遍历所有的键
foreach (string key in keys) foreach (string key in keys)
{ {
string value = PlayerPrefs.GetString(key); string value = PlayerPrefs.GetString(key);
Debug.Log("Key: " + key + ", Value: " + value); Debug.Log("Key: " + key + ", Value: " + value);
} }
} }
@ -93,7 +163,7 @@ public class LineInfor : MonoBehaviour
/// </summary> /// </summary>
/// <param name="lineWidth"></param> /// <param name="lineWidth"></param>
[ContextMenu("设置LineRenderer宽度")] [ContextMenu("设置LineRenderer宽度")]
public void setLineWidth(float lineWidth) public void setLineWidth(float lineWidth)
{ {
lineRenderer.startWidth = lineWidth; lineRenderer.startWidth = lineWidth;
lineRenderer.endWidth = lineWidth; lineRenderer.endWidth = lineWidth;