Merge branch 'main' of http://shu.sheziwanglo.cn:3000/wulongxiao/_xiaofang
This commit is contained in:
commit
2ad6d74aec
@ -522,6 +522,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: -63
|
value: -63
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3762380756227831939, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: -23.3146
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3762380756227831939, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
- target: {fileID: 3762380756227831939, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
||||||
propertyPath: m_SizeDelta.y
|
propertyPath: m_SizeDelta.y
|
||||||
value: 399
|
value: 399
|
||||||
@ -662,6 +666,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7722120786197264298, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
||||||
|
propertyPath: m_Enabled
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7722120786197264298, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
- target: {fileID: 7722120786197264298, guid: f012cdb5db178594a8c5a7afe1a573fb, type: 3}
|
||||||
propertyPath: m_ShowMaskGraphic
|
propertyPath: m_ShowMaskGraphic
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -34,7 +34,6 @@ RectTransform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 3095696782567605136}
|
- {fileID: 3095696782567605136}
|
||||||
- {fileID: 3089336587427159399}
|
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@ -201,8 +200,8 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 150.65405, y: -55}
|
m_AnchoredPosition: {x: 152.05444, y: -63}
|
||||||
m_SizeDelta: {x: 301.3081, y: 0}
|
m_SizeDelta: {x: 273.2993, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &3095696782567605150
|
--- !u!222 &3095696782567605150
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -260,390 +259,3 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_HorizontalFit: 0
|
m_HorizontalFit: 0
|
||||||
m_VerticalFit: 2
|
m_VerticalFit: 2
|
||||||
--- !u!1 &3274204728118144032
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1576220949477603992}
|
|
||||||
- component: {fileID: 1875095556152115701}
|
|
||||||
- component: {fileID: 3138022028723380603}
|
|
||||||
- component: {fileID: 590391058538485392}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Viewport
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &1576220949477603992
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3274204728118144032}
|
|
||||||
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: 2105053941790049800}
|
|
||||||
m_Father: {fileID: 2294071690494749053}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 1.9364014, y: 0}
|
|
||||||
m_SizeDelta: {x: -1.9364, y: 2.366}
|
|
||||||
m_Pivot: {x: 0, y: 1}
|
|
||||||
--- !u!222 &1875095556152115701
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3274204728118144032}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &3138022028723380603
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3274204728118144032}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_Type: 1
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!114 &590391058538485392
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3274204728118144032}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_ShowMaskGraphic: 0
|
|
||||||
--- !u!1 &3638014513577154373
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 93198704891992090}
|
|
||||||
- component: {fileID: 2783874482780562937}
|
|
||||||
- component: {fileID: 8369848810924422771}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Text (Legacy)
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &93198704891992090
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3638014513577154373}
|
|
||||||
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: []
|
|
||||||
m_Father: {fileID: 2105053941790049800}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &2783874482780562937
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3638014513577154373}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &8369848810924422771
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3638014513577154373}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_FontData:
|
|
||||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_FontSize: 21
|
|
||||||
m_FontStyle: 0
|
|
||||||
m_BestFit: 0
|
|
||||||
m_MinSize: 10
|
|
||||||
m_MaxSize: 40
|
|
||||||
m_Alignment: 1
|
|
||||||
m_AlignByGeometry: 0
|
|
||||||
m_RichText: 1
|
|
||||||
m_HorizontalOverflow: 0
|
|
||||||
m_VerticalOverflow: 0
|
|
||||||
m_LineSpacing: 1
|
|
||||||
m_Text: "<u>\u8FD9\u662F\u4E00\u4E2A\u5E26\u4E0B\u5212\u7EBF\u7684\u6587\u672C</u>"
|
|
||||||
--- !u!1 &5595601140773191549
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 3089336587427159399}
|
|
||||||
- component: {fileID: 7848820322623447816}
|
|
||||||
- component: {fileID: 8459173691447665609}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: SecondaryBg
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &3089336587427159399
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5595601140773191549}
|
|
||||||
m_LocalRotation: {x: 0, y: -1, z: 0, w: 0}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 2294071690494749053}
|
|
||||||
m_Father: {fileID: 3095696782386080802}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 431, y: -57.766235}
|
|
||||||
m_SizeDelta: {x: 317.6497, y: 234.8171}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &7848820322623447816
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5595601140773191549}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &8459173691447665609
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5595601140773191549}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 660be7f8a0ac4fd44b4fa1e8f4939e0b, type: 3}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!1 &7095300945766536210
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 2105053941790049800}
|
|
||||||
- component: {fileID: 8534427375228210004}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Content
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &2105053941790049800
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 7095300945766536210}
|
|
||||||
m_LocalRotation: {x: 0, y: -1, z: 0, w: 0}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 93198704891992090}
|
|
||||||
m_Father: {fileID: 1576220949477603992}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 236.79494, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 201.2333}
|
|
||||||
m_Pivot: {x: 0, y: 1}
|
|
||||||
--- !u!114 &8534427375228210004
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 7095300945766536210}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Padding:
|
|
||||||
m_Left: 0
|
|
||||||
m_Right: 0
|
|
||||||
m_Top: 0
|
|
||||||
m_Bottom: 0
|
|
||||||
m_ChildAlignment: 0
|
|
||||||
m_StartCorner: 0
|
|
||||||
m_StartAxis: 1
|
|
||||||
m_CellSize: {x: 230, y: 61.3}
|
|
||||||
m_Spacing: {x: 0, y: 0}
|
|
||||||
m_Constraint: 1
|
|
||||||
m_ConstraintCount: 1
|
|
||||||
--- !u!1 &8105191023904773080
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 2294071690494749053}
|
|
||||||
- component: {fileID: 7064473419393370927}
|
|
||||||
- component: {fileID: 4936944416153079686}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Scroll View
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &2294071690494749053
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8105191023904773080}
|
|
||||||
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: 1576220949477603992}
|
|
||||||
m_Father: {fileID: 3089336587427159399}
|
|
||||||
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: -19.366089, y: 0}
|
|
||||||
m_SizeDelta: {x: 238.7322, y: 200}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &7064473419393370927
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8105191023904773080}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &4936944416153079686
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8105191023904773080}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Content: {fileID: 2105053941790049800}
|
|
||||||
m_Horizontal: 1
|
|
||||||
m_Vertical: 1
|
|
||||||
m_MovementType: 1
|
|
||||||
m_Elasticity: 0.1
|
|
||||||
m_Inertia: 1
|
|
||||||
m_DecelerationRate: 0.135
|
|
||||||
m_ScrollSensitivity: 1
|
|
||||||
m_Viewport: {fileID: 1576220949477603992}
|
|
||||||
m_HorizontalScrollbar: {fileID: 0}
|
|
||||||
m_VerticalScrollbar: {fileID: 0}
|
|
||||||
m_HorizontalScrollbarVisibility: 2
|
|
||||||
m_VerticalScrollbarVisibility: 2
|
|
||||||
m_HorizontalScrollbarSpacing: -3
|
|
||||||
m_VerticalScrollbarSpacing: -3
|
|
||||||
m_OnValueChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
|
@ -816,14 +816,6 @@ MonoBehaviour:
|
|||||||
Evacuate2Button: {fileID: 1056752202}
|
Evacuate2Button: {fileID: 1056752202}
|
||||||
Evacuate3Button: {fileID: 1841017471}
|
Evacuate3Button: {fileID: 1841017471}
|
||||||
Evacuate4Button: {fileID: 3077635299975306491}
|
Evacuate4Button: {fileID: 3077635299975306491}
|
||||||
OpcButton1: {fileID: 3745318407196570235}
|
|
||||||
OpcButton2: {fileID: 0}
|
|
||||||
OpcButton3: {fileID: 0}
|
|
||||||
OpcButton4: {fileID: 0}
|
|
||||||
OpcButton5: {fileID: 0}
|
|
||||||
OpcButton6: {fileID: 0}
|
|
||||||
OpcButton7: {fileID: 0}
|
|
||||||
OpcButton8: {fileID: 0}
|
|
||||||
TipText: {fileID: 3649662722676972069}
|
TipText: {fileID: 3649662722676972069}
|
||||||
EvacuateText1: {fileID: 4634868956085587468}
|
EvacuateText1: {fileID: 4634868956085587468}
|
||||||
EvacuateText2: {fileID: 7524900053288069876}
|
EvacuateText2: {fileID: 7524900053288069876}
|
||||||
@ -833,18 +825,15 @@ MonoBehaviour:
|
|||||||
fadeOutDuration: 1
|
fadeOutDuration: 1
|
||||||
displayDuration: 2
|
displayDuration: 2
|
||||||
createdItems: []
|
createdItems: []
|
||||||
|
Order: []
|
||||||
content1: {fileID: 4655442274320728346}
|
content1: {fileID: 4655442274320728346}
|
||||||
content2: {fileID: 0}
|
|
||||||
content3: {fileID: 0}
|
|
||||||
content4: {fileID: 0}
|
|
||||||
content5: {fileID: 0}
|
|
||||||
content6: {fileID: 0}
|
|
||||||
content7: {fileID: 0}
|
|
||||||
content8: {fileID: 0}
|
|
||||||
OpcName: []
|
OpcName: []
|
||||||
|
InfoBg: {fileID: 0}
|
||||||
itemPrefab: {fileID: 3095696782386080805, guid: 880eb45c9766fa64fae96c6ef0e373ff, type: 3}
|
itemPrefab: {fileID: 3095696782386080805, guid: 880eb45c9766fa64fae96c6ef0e373ff, type: 3}
|
||||||
JSONReader: {fileID: 3077635298785468485}
|
JSONReader: {fileID: 3077635298785468485}
|
||||||
OpcItems: []
|
OpcItems: []
|
||||||
|
DirectChildren: []
|
||||||
|
TagChildren: []
|
||||||
Item: {fileID: 750830055714013964}
|
Item: {fileID: 750830055714013964}
|
||||||
TaskId: []
|
TaskId: []
|
||||||
OpcPrefab: {fileID: 750830056000081220}
|
OpcPrefab: {fileID: 750830056000081220}
|
||||||
@ -3958,6 +3947,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_Sprite
|
propertyPath: m_Sprite
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 21300000, guid: e5fba182dd7cbe04dae32f99a278409a, type: 3}
|
objectReference: {fileID: 21300000, guid: e5fba182dd7cbe04dae32f99a278409a, type: 3}
|
||||||
|
- target: {fileID: 2368487729476630064, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 2368487729488031803, guid: f7325740e682bf04a909abba74479379, type: 3}
|
- target: {fileID: 2368487729488031803, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
propertyPath: m_Pivot.y
|
propertyPath: m_Pivot.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -4026,6 +4019,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_SizeDelta.y
|
propertyPath: m_SizeDelta.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2368487729981570270, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 2368487730040724335, guid: f7325740e682bf04a909abba74479379, type: 3}
|
- target: {fileID: 2368487730040724335, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
propertyPath: m_Pivot.y
|
propertyPath: m_Pivot.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -4306,17 +4303,6 @@ GameObject:
|
|||||||
m_CorrespondingSourceObject: {fileID: 2368487729707515506, guid: f7325740e682bf04a909abba74479379, type: 3}
|
m_CorrespondingSourceObject: {fileID: 2368487729707515506, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
m_PrefabInstance: {fileID: 3077635299359339318}
|
m_PrefabInstance: {fileID: 3077635299359339318}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!114 &3745318407196570235 stripped
|
|
||||||
MonoBehaviour:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 1823957577447948621, guid: f7325740e682bf04a909abba74479379, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 3077635299359339318}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 750830056000081220}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1 &4655442274320728346 stripped
|
--- !u!1 &4655442274320728346 stripped
|
||||||
GameObject:
|
GameObject:
|
||||||
m_CorrespondingSourceObject: {fileID: 7651194562005529132, guid: f7325740e682bf04a909abba74479379, type: 3}
|
m_CorrespondingSourceObject: {fileID: 7651194562005529132, guid: f7325740e682bf04a909abba74479379, type: 3}
|
||||||
@ -4965,7 +4951,7 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3722492972393548476, guid: 08fc835d9ef4e9443b98f9a0adb9b051, type: 3}
|
- target: {fileID: 3722492972393548476, guid: 08fc835d9ef4e9443b98f9a0adb9b051, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 1
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3722492972393548476, guid: 08fc835d9ef4e9443b98f9a0adb9b051, type: 3}
|
- target: {fileID: 3722492972393548476, guid: 08fc835d9ef4e9443b98f9a0adb9b051, type: 3}
|
||||||
propertyPath: m_AnchorMax.x
|
propertyPath: m_AnchorMax.x
|
||||||
|
739
xiaofang/Assets/Prefabs/PanelPrefabs/OpcOrder2.prefab
Normal file
739
xiaofang/Assets/Prefabs/PanelPrefabs/OpcOrder2.prefab
Normal file
@ -0,0 +1,739 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &5427477177037612982
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177037612983}
|
||||||
|
- component: {fileID: 5427477177037612977}
|
||||||
|
- component: {fileID: 5427477177037612976}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Item Label
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177037612983
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177037612982}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 5427477178794243340}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0.024810791, y: -0.4999962}
|
||||||
|
m_SizeDelta: {x: -15.6273, y: -3}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5427477177037612977
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177037612982}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477177037612976
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177037612982}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 39
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 44
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u6307\u6325\u5B98"
|
||||||
|
--- !u!1 &5427477177039135512
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177039135513}
|
||||||
|
- component: {fileID: 5427477177039135515}
|
||||||
|
- component: {fileID: 5427477177039135514}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Item Background
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177039135513
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177039135512}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 5427477178794243340}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 1.381897}
|
||||||
|
m_SizeDelta: {x: 0, y: 2.764}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5427477177039135515
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177039135512}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477177039135514
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177039135512}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 3511a9d131c32d44dbca03dad1c3e6ae, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &5427477177145282089
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177145282090}
|
||||||
|
- component: {fileID: 5427477177145282132}
|
||||||
|
- component: {fileID: 5427477177145282091}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177145282090
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177145282089}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 5427477177794294087}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: -6.2115, y: 0}
|
||||||
|
m_SizeDelta: {x: -12.423, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5427477177145282132
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177145282089}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477177145282091
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177145282089}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 33
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 3
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Option A
|
||||||
|
--- !u!1 &5427477177567981575
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177567981568}
|
||||||
|
- component: {fileID: 5427477177567981571}
|
||||||
|
- component: {fileID: 5427477177567981570}
|
||||||
|
- component: {fileID: 5427477177567981569}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Viewport
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177567981568
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177567981575}
|
||||||
|
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: 5427477177990779866}
|
||||||
|
m_Father: {fileID: 5427477178408170555}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 7.2389984, y: 4}
|
||||||
|
m_SizeDelta: {x: -8.839, y: -0.00012207}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!222 &5427477177567981571
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177567981575}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477177567981570
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177567981575}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &5427477177567981569
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177567981575}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_ShowMaskGraphic: 1
|
||||||
|
--- !u!1 &5427477177794294086
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177794294087}
|
||||||
|
- component: {fileID: 5427477177794294082}
|
||||||
|
- component: {fileID: 5427477177794294081}
|
||||||
|
- component: {fileID: 5427477177794294080}
|
||||||
|
- component: {fileID: 7674951518507129620}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: OpcOrder2
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177794294087
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177794294086}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.9, y: 0.8, z: 0.5}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 5427477177145282090}
|
||||||
|
- {fileID: 5427477178408170555}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
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: 12.187595, y: 114.97214}
|
||||||
|
m_SizeDelta: {x: 332.423, y: 92.6368}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5427477177794294082
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177794294086}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477177794294081
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177794294086}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 07ec55c139b9ebb44b5e41e6737f4312, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &5427477177794294080
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177794294086}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0d0b652f32a2cc243917e4028fa0f046, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 5427477177794294081}
|
||||||
|
m_Template: {fileID: 5427477178408170555}
|
||||||
|
m_CaptionText: {fileID: 5427477177145282091}
|
||||||
|
m_CaptionImage: {fileID: 0}
|
||||||
|
m_ItemText: {fileID: 5427477177037612976}
|
||||||
|
m_ItemImage: {fileID: 0}
|
||||||
|
m_Value: 0
|
||||||
|
m_Options:
|
||||||
|
m_Options:
|
||||||
|
- m_Text: Option A
|
||||||
|
m_Image: {fileID: 0}
|
||||||
|
- m_Text: Option B
|
||||||
|
m_Image: {fileID: 0}
|
||||||
|
- m_Text: Option C
|
||||||
|
m_Image: {fileID: 0}
|
||||||
|
m_OnValueChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_AlphaFadeSpeed: 0.15
|
||||||
|
--- !u!114 &7674951518507129620
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177794294086}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 715552698740679429dd23a682c4464e, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
dropdown: {fileID: 0}
|
||||||
|
defaultOption: "\u4E0D\u60F3\u4E0A\u73ED\uFF01"
|
||||||
|
--- !u!1 &5427477177990779865
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477177990779866}
|
||||||
|
- component: {fileID: 6188941639397716784}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Content
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477177990779866
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177990779865}
|
||||||
|
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: 5427477178794243340}
|
||||||
|
m_Father: {fileID: 5427477177567981568}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 83.324}
|
||||||
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
|
--- !u!114 &6188941639397716784
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477177990779865}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 280, y: 90}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 0
|
||||||
|
m_ConstraintCount: 2
|
||||||
|
--- !u!1 &5427477178408170554
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477178408170555}
|
||||||
|
- component: {fileID: 5427477178408170534}
|
||||||
|
- component: {fileID: 5427477178408170533}
|
||||||
|
- component: {fileID: 5427477178408170532}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Template
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477178408170555
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178408170554}
|
||||||
|
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: 5427477177567981568}
|
||||||
|
m_Father: {fileID: 5427477177794294087}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 285.2, y: 216}
|
||||||
|
m_SizeDelta: {x: -75.092, y: 268.206}
|
||||||
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
|
--- !u!222 &5427477178408170534
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178408170554}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5427477178408170533
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178408170554}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 71c716edc50da5e4aae3de1aec983803, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &5427477178408170532
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178408170554}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Content: {fileID: 5427477177990779866}
|
||||||
|
m_Horizontal: 0
|
||||||
|
m_Vertical: 1
|
||||||
|
m_MovementType: 2
|
||||||
|
m_Elasticity: 0.1
|
||||||
|
m_Inertia: 1
|
||||||
|
m_DecelerationRate: 0.135
|
||||||
|
m_ScrollSensitivity: 1
|
||||||
|
m_Viewport: {fileID: 5427477177567981568}
|
||||||
|
m_HorizontalScrollbar: {fileID: 0}
|
||||||
|
m_VerticalScrollbar: {fileID: 0}
|
||||||
|
m_HorizontalScrollbarVisibility: 0
|
||||||
|
m_VerticalScrollbarVisibility: 2
|
||||||
|
m_HorizontalScrollbarSpacing: 0
|
||||||
|
m_VerticalScrollbarSpacing: -3
|
||||||
|
m_OnValueChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!1 &5427477178794243331
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5427477178794243340}
|
||||||
|
- component: {fileID: 5427477178794243341}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Item
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5427477178794243340
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178794243331}
|
||||||
|
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: 5427477177039135513}
|
||||||
|
- {fileID: 5427477177037612983}
|
||||||
|
m_Father: {fileID: 5427477177990779866}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &5427477178794243341
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5427477178794243331}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 5427477177039135514}
|
||||||
|
toggleTransition: 1
|
||||||
|
graphic: {fileID: 0}
|
||||||
|
m_Group: {fileID: 0}
|
||||||
|
onValueChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_IsOn: 1
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b94195b82c852fe4f814d48797720281
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -9156,6 +9156,65 @@ Transform:
|
|||||||
m_CorrespondingSourceObject: {fileID: 424166, guid: dd642d046532d6449b5c8884a203ada2, type: 3}
|
m_CorrespondingSourceObject: {fileID: 424166, guid: dd642d046532d6449b5c8884a203ada2, type: 3}
|
||||||
m_PrefabInstance: {fileID: 436677384}
|
m_PrefabInstance: {fileID: 436677384}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1 &437592029
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 437592030}
|
||||||
|
- component: {fileID: 437592032}
|
||||||
|
- component: {fileID: 437592031}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: GameObject (90)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &437592030
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437592029}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: -41.98, y: -13.3, z: -1.03}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1670215315}
|
||||||
|
m_RootOrder: 90
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!65 &437592031
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437592029}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IsTrigger: 1
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Size: {x: 18.448074, y: 2.697842, z: 39.970417}
|
||||||
|
m_Center: {x: 4.1517563, y: 0.84892094, z: -13.500875}
|
||||||
|
--- !u!114 &437592032
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437592029}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d4afef9f2f994de4cb3359204a976f16, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Id: 0
|
||||||
--- !u!1 &440771324
|
--- !u!1 &440771324
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -26314,6 +26373,7 @@ Transform:
|
|||||||
- {fileID: 1516610549}
|
- {fileID: 1516610549}
|
||||||
- {fileID: 1454246393}
|
- {fileID: 1454246393}
|
||||||
- {fileID: 1043610486}
|
- {fileID: 1043610486}
|
||||||
|
- {fileID: 437592030}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 38
|
m_RootOrder: 38
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@ -26823,6 +26883,7 @@ MonoBehaviour:
|
|||||||
scrollSpeed: 2
|
scrollSpeed: 2
|
||||||
overlookPosition: {x: 0, y: 50, z: 0}
|
overlookPosition: {x: 0, y: 50, z: 0}
|
||||||
overlookRotation: {x: -0.45922917, y: 0.5376882, z: -0.5376882, w: -0.45922917}
|
overlookRotation: {x: -0.45922917, y: 0.5376882, z: -0.5376882, w: -0.45922917}
|
||||||
|
Canvas: {fileID: 1039624181}
|
||||||
--- !u!1001 &1709243970
|
--- !u!1001 &1709243970
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -26,6 +26,16 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
public GameObject EvacuateSurePanel;
|
public GameObject EvacuateSurePanel;
|
||||||
//疏散顺序面板
|
//疏散顺序面板
|
||||||
public GameObject EvacuatePanel;
|
public GameObject EvacuatePanel;
|
||||||
|
//次级面板
|
||||||
|
public GameObject minPanel1;
|
||||||
|
public GameObject minPanel2;
|
||||||
|
public GameObject minPanel3;
|
||||||
|
public GameObject minPanel4;
|
||||||
|
public GameObject minPanel5;
|
||||||
|
public GameObject minPanel6;
|
||||||
|
public GameObject minPanel7;
|
||||||
|
public GameObject minPanel8;
|
||||||
|
public GameObject minPanel9;
|
||||||
[Header("图像")]
|
[Header("图像")]
|
||||||
//特殊情况弹窗背景图
|
//特殊情况弹窗背景图
|
||||||
public Image TipBg;
|
public Image TipBg;
|
||||||
@ -72,6 +82,7 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
public Sprite InfoBg;//介绍的底板
|
public Sprite InfoBg;//介绍的底板
|
||||||
private int itemCount = 1; // 要创建的物体数量
|
private int itemCount = 1; // 要创建的物体数量
|
||||||
public GameObject itemPrefab; // 子物体的预制件
|
public GameObject itemPrefab; // 子物体的预制件
|
||||||
|
public GameObject Order2Prefab;//带有次级面板
|
||||||
public JSONReader JSONReader;
|
public JSONReader JSONReader;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@ -86,9 +97,10 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
public Text OpcText;//预制体文本内容
|
public Text OpcText;//预制体文本内容
|
||||||
#endregion
|
#endregion
|
||||||
private static int a = 0;
|
private static int a = 0;
|
||||||
|
public static FreePanelManager Z;
|
||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
|
Z = this;
|
||||||
ContainsValue(11002);
|
ContainsValue(11002);
|
||||||
|
|
||||||
#region 初始化的东西
|
#region 初始化的东西
|
||||||
@ -238,7 +250,7 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
public void CreateOcpText(string ID, GameObject content)
|
public void CreateOcpText(string ID, GameObject content)
|
||||||
{
|
{
|
||||||
OpcName.Clear();
|
OpcName.Clear();
|
||||||
Order.Clear(); // 确保 Order 清空,避免重复数据
|
Order.Clear();
|
||||||
createdItems.Clear(); // 确保 createdItems 清空,避免重复数据
|
createdItems.Clear(); // 确保 createdItems 清空,避免重复数据
|
||||||
|
|
||||||
// 遍历 SelectDictionary
|
// 遍历 SelectDictionary
|
||||||
@ -259,63 +271,165 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
// 动态创建指定数量的子物体并保存它们
|
// 动态创建指定数量的子物体并保存它们
|
||||||
for (int i = 0; i < OpcName.Count; i++)
|
for (int i = 0; i < OpcName.Count; i++)
|
||||||
{
|
{
|
||||||
GameObject newItem = Instantiate(itemPrefab, content.transform);
|
GameObject newItem;
|
||||||
|
|
||||||
|
// 如果 Order[i] 是 "order2",使用 Order2Prefab 创建
|
||||||
|
if (i < Order.Count && Order[i] == "order2")
|
||||||
|
{
|
||||||
|
newItem = Instantiate(Order2Prefab, content.transform);
|
||||||
|
Image image = newItem.GetComponent<Image>();
|
||||||
|
if (image != null)
|
||||||
|
{
|
||||||
|
image.sprite = InfoBg; // 设置背景图片
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"未找到 Image 组件,无法设置背景图片,索引: {i}");
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 废案
|
||||||
|
//// 找到新创建物体的子物体中的 Toggle
|
||||||
|
//Toggle toggle = newItem.transform.Find("Item")?.GetComponent<Toggle>();
|
||||||
|
//if (toggle != null)
|
||||||
|
//{
|
||||||
|
// int index = i; // 用局部变量保存当前索引,避免 Lambda 捕获问题
|
||||||
|
// Debug.Log($"绑定 Toggle 点击事件,索引: {index},文本: {OpcName[index]}");
|
||||||
|
|
||||||
|
// toggle.onValueChanged.AddListener((isOn) =>
|
||||||
|
// {
|
||||||
|
// if (isOn)
|
||||||
|
// {
|
||||||
|
// HandleToggleClick(index, newItem); // 调用通用处理方法
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
//}
|
||||||
|
//else
|
||||||
|
//{
|
||||||
|
// Debug.LogWarning($"未找到 Toggle 组件或子物体,索引: {i}");
|
||||||
|
//}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// 否则使用默认的 itemPrefab 创建
|
||||||
|
newItem = Instantiate(itemPrefab, content.transform);
|
||||||
|
}
|
||||||
|
|
||||||
// 找到子物体的文本组件并设置内容
|
// 找到子物体的文本组件并设置内容
|
||||||
Text left = newItem.transform.Find("Text").GetComponent<Text>();
|
Text left = newItem.transform.Find("Text")?.GetComponent<Text>();
|
||||||
left.text = OpcName[i];
|
if (left != null)
|
||||||
|
|
||||||
// 如果 Order[i] 是 "order2",修改背景图片
|
|
||||||
if (Order[i] == "order2")
|
|
||||||
{
|
{
|
||||||
Image image = newItem.GetComponent<Image>();
|
left.text = OpcName[i]; // 设置文本内容
|
||||||
image.sprite = InfoBg;
|
|
||||||
// 添加点击事件
|
|
||||||
Button button = newItem.GetComponent<Button>();
|
|
||||||
if (button != null)
|
|
||||||
{
|
|
||||||
int index = 0; // 用局部变量保存当前索引
|
|
||||||
button.onClick.AddListener(() => OnButtonClicked(index));
|
|
||||||
index += 1;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"未找到 Text 组件,索引: {i}");
|
||||||
}
|
}
|
||||||
|
|
||||||
createdItems.Add(newItem); // 将新创建的物体添加到列表中
|
// 将创建的物体添加到列表中
|
||||||
|
createdItems.Add(newItem);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
#region 废案
|
||||||
|
|
||||||
}
|
|
||||||
//给创建的职业对应文本创建点击事件
|
|
||||||
public void OnButtonClicked(int index)
|
|
||||||
{
|
|
||||||
switch (index)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
Debug.Log("我是0");
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
Debug.Log("我是1");
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
Debug.Log("我是2");
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
Debug.Log("我是3");
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
Debug.Log("我是4");
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
Debug.Log("我是5");
|
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
Debug.Log("我是6");
|
|
||||||
break;
|
|
||||||
case 7:
|
|
||||||
Debug.Log("我是7");
|
|
||||||
break;
|
|
||||||
|
|
||||||
}
|
//public void ToggleManger()
|
||||||
}
|
//{
|
||||||
|
// for (int i = 0; i < Order.Count; i++)
|
||||||
|
// {
|
||||||
|
// // 找到新创建物体的子物体中的 Toggle
|
||||||
|
// Toggle toggle= FindToggleInChildren();
|
||||||
|
// if (toggle != null)
|
||||||
|
// {
|
||||||
|
// int index = i; // 用局部变量保存当前索引,避免 Lambda 捕获问题
|
||||||
|
|
||||||
|
// toggle.onValueChanged.AddListener((isOn) =>
|
||||||
|
// {
|
||||||
|
// if (isOn)
|
||||||
|
// {
|
||||||
|
// HandleToggleClick(index, toggle.gameObject); // 调用通用处理方法
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// Debug.LogWarning($"未找到 Toggle 组件或子物体,索引: {i}");
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
//// 处理 Toggle 点击逻辑(次级面板)
|
||||||
|
//private void HandleToggleClick(int index, GameObject toggleObject)
|
||||||
|
//{
|
||||||
|
// Debug.Log("进不啊来啦啊啊啊啊啊啊");
|
||||||
|
// if (index == 0 || index == 1) // 错误选项
|
||||||
|
// {
|
||||||
|
// Debug.Log($"错误选项被点击,删除 Toggle {index}, 文本内容: {OpcName[index]}");
|
||||||
|
// DeleteToggle(toggleObject); // 删除 Toggle
|
||||||
|
// }
|
||||||
|
// else if (index == 2) // 正确选项
|
||||||
|
// {
|
||||||
|
// Debug.Log($"正确选项被点击,执行正确逻辑,文本内容: {OpcName[index]}");
|
||||||
|
// HandleCorrectOption(); // 执行正确选项的逻辑
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
//// 删除 Toggle 的方法(次级面板)
|
||||||
|
//private void DeleteToggle(GameObject toggleObject)
|
||||||
|
//{
|
||||||
|
// if (toggleObject != null)
|
||||||
|
// {
|
||||||
|
// Debug.Log($"删除 Toggle: {toggleObject.name}");
|
||||||
|
|
||||||
|
// // 从父容器中移除
|
||||||
|
// Destroy(toggleObject);
|
||||||
|
|
||||||
|
// // 如果在 createdItems 列表中,移除它
|
||||||
|
// if (createdItems.Contains(toggleObject))
|
||||||
|
// {
|
||||||
|
// createdItems.Remove(toggleObject);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
// 正确选项的逻辑(次级面板)
|
||||||
|
//private void HandleCorrectOption()
|
||||||
|
//{
|
||||||
|
// Debug.Log("正确答案被选择,执行相关逻辑!");
|
||||||
|
// // 在这里添加正确选项的逻辑,例如显示提示、播放音效等
|
||||||
|
//}
|
||||||
|
// 方法:递归查找 newItem 下的所有子物体中带有 Toggle 组件的子物体
|
||||||
|
//public Toggle FindToggleInChildren()
|
||||||
|
//{
|
||||||
|
// // 遍历 createdItems 列表中的所有物体
|
||||||
|
// foreach (GameObject parent in createdItems)
|
||||||
|
// {
|
||||||
|
// // 确保父物体不为空
|
||||||
|
// if (parent == null) continue;
|
||||||
|
|
||||||
|
// // 创建一个队列,用于非递归查找子物体中的 Toggle
|
||||||
|
// Queue<Transform> queue = new Queue<Transform>();
|
||||||
|
// queue.Enqueue(parent.transform);
|
||||||
|
|
||||||
|
// while (queue.Count > 0)
|
||||||
|
// {
|
||||||
|
// Transform current = queue.Dequeue();
|
||||||
|
|
||||||
|
// // 检查当前子物体是否有 Toggle 组件
|
||||||
|
// Toggle toggle = current.GetComponent<Toggle>();
|
||||||
|
// if (toggle != null)
|
||||||
|
// {
|
||||||
|
// return toggle; // 找到第一个 Toggle 组件,立即返回
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // 将当前物体的所有子物体加入队列
|
||||||
|
// foreach (Transform child in current)
|
||||||
|
// {
|
||||||
|
// queue.Enqueue(child);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// // 如果没有找到 Toggle,返回 null
|
||||||
|
// return null;
|
||||||
|
//}
|
||||||
|
#endregion
|
||||||
//职业介绍界面左右按钮
|
//职业介绍界面左右按钮
|
||||||
private void LeftRight(int a, int b)
|
private void LeftRight(int a, int b)
|
||||||
{
|
{
|
||||||
@ -473,5 +587,6 @@ public class FreePanelManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
CreateOcpText("8006", TagChildren[i]);
|
CreateOcpText("8006", TagChildren[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
27
xiaofang/Assets/Script/UI/ZZZZZZ/LayoutCompooment.cs
Normal file
27
xiaofang/Assets/Script/UI/ZZZZZZ/LayoutCompooment.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class LayoutCompooment : MonoBehaviour
|
||||||
|
{
|
||||||
|
public RectTransform rectTransform;
|
||||||
|
public GameObject secondMenu;//二级菜单的父类
|
||||||
|
public Toggle firstToggle;//一级菜单
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
firstToggle.onValueChanged.AddListener((canOpen) =>OpenSecondMenu(canOpen));
|
||||||
|
}
|
||||||
|
public void OpenSecondMenu(bool canOpen)
|
||||||
|
{
|
||||||
|
secondMenu.gameObject.SetActive(canOpen);
|
||||||
|
StartCoroutine(UpdateLayout(rectTransform));
|
||||||
|
}
|
||||||
|
//写一个鬼携程让UI实时刷新
|
||||||
|
IEnumerator UpdateLayout(RectTransform rect){
|
||||||
|
LayoutRebuilder.ForceRebuildLayoutImmediate(rect);
|
||||||
|
yield return new WaitForEndOfFrame();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
11
xiaofang/Assets/Script/UI/ZZZZZZ/LayoutCompooment.cs.meta
Normal file
11
xiaofang/Assets/Script/UI/ZZZZZZ/LayoutCompooment.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bebb504f3c385e545a3db985f12ceac6
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
129
xiaofang/Assets/Script/UI/ZZZZZZ/OpcOrder2.cs
Normal file
129
xiaofang/Assets/Script/UI/ZZZZZZ/OpcOrder2.cs
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class OpcOrder2 : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Dropdown dropdown; // Dropdown 组件
|
||||||
|
private string originalText; // 存储原始显示的文字
|
||||||
|
public static OpcOrder2 opcOrder2;
|
||||||
|
public string defaultOption = "不想上班!"; // 默认选项
|
||||||
|
private bool isDropdownInitialized = false;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
// 初始化 Dropdown
|
||||||
|
if (dropdown == null)
|
||||||
|
{
|
||||||
|
dropdown = GetComponent<Dropdown>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 清空默认选项
|
||||||
|
dropdown.options.Clear();
|
||||||
|
|
||||||
|
// 添加默认显示的选项
|
||||||
|
dropdown.options.Add(new Dropdown.OptionData(defaultOption)); // 默认选项A
|
||||||
|
dropdown.captionText.text = defaultOption; // 设置默认显示文字
|
||||||
|
|
||||||
|
// 初始化下拉选项(不包括 A)
|
||||||
|
dropdown.options.Add(new Dropdown.OptionData("选项 B"));
|
||||||
|
dropdown.options.Add(new Dropdown.OptionData("选项 C"));
|
||||||
|
dropdown.options.Add(new Dropdown.OptionData("选项 D"));
|
||||||
|
|
||||||
|
// 添加值变化事件
|
||||||
|
dropdown.onValueChanged.AddListener(OnDropdownValueChanged);
|
||||||
|
|
||||||
|
// 初始化绑定选项的点击事件
|
||||||
|
BindToggleEvents();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置默认选项文本,外部可以调用这个方法改变默认文本
|
||||||
|
public string SetText(string str)
|
||||||
|
{
|
||||||
|
defaultOption = str;
|
||||||
|
dropdown.captionText.text = defaultOption; // 设置默认选项的显示文本
|
||||||
|
return str;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 当下拉框的值改变时触发
|
||||||
|
private void OnDropdownValueChanged(int index)
|
||||||
|
{
|
||||||
|
if (isDropdownInitialized)
|
||||||
|
{
|
||||||
|
// 更新下拉框显示的文字为选中的选项
|
||||||
|
// 但是不改变默认选项的值
|
||||||
|
dropdown.captionText.text = dropdown.options[index].text;
|
||||||
|
|
||||||
|
// 执行自定义逻辑
|
||||||
|
Debug.Log($"点击了选项:{dropdown.options[index].text}");
|
||||||
|
}
|
||||||
|
|
||||||
|
isDropdownInitialized = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 动态绑定选项的 Toggle 点击事件
|
||||||
|
private void BindToggleEvents()
|
||||||
|
{
|
||||||
|
// 获取 Dropdown 的 Template(下拉项模板)
|
||||||
|
Transform dropdownTemplate = dropdown.transform.Find("Template");
|
||||||
|
|
||||||
|
if (dropdownTemplate != null)
|
||||||
|
{
|
||||||
|
Transform viewport = dropdownTemplate.Find("Viewport");
|
||||||
|
if (viewport != null)
|
||||||
|
{
|
||||||
|
Transform content = viewport.Find("Content");
|
||||||
|
if (content != null)
|
||||||
|
{
|
||||||
|
// 遍历 Content 下的所有子物体(即下拉列表中的选项)
|
||||||
|
foreach (Transform option in content)
|
||||||
|
{
|
||||||
|
Toggle toggle = option.GetComponent<Toggle>();
|
||||||
|
if (toggle != null)
|
||||||
|
{
|
||||||
|
string optionText = option.GetComponentInChildren<Text>().text;
|
||||||
|
|
||||||
|
// 为每个选项绑定点击事件
|
||||||
|
toggle.onValueChanged.AddListener((isOn) =>
|
||||||
|
{
|
||||||
|
if (isOn)
|
||||||
|
{
|
||||||
|
HandleOptionClick(optionText);
|
||||||
|
toggle.isOn = false; // 重置 Toggle 状态,防止选项保持选中
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning("未找到 Dropdown 的 Template 部分,无法绑定点击事件!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 处理选项点击逻辑
|
||||||
|
private void HandleOptionClick(string optionText)
|
||||||
|
{
|
||||||
|
Debug.Log($"点击了选项:{optionText}");
|
||||||
|
|
||||||
|
// 根据点击的选项执行不同的逻辑
|
||||||
|
switch (optionText)
|
||||||
|
{
|
||||||
|
case "选项 B":
|
||||||
|
Debug.Log("执行选项 B 的逻辑!");
|
||||||
|
break;
|
||||||
|
case "选项 C":
|
||||||
|
Debug.Log("执行选项 C 的逻辑!");
|
||||||
|
break;
|
||||||
|
case "选项 D":
|
||||||
|
Debug.Log("执行选项 D 的逻辑!");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
Debug.LogWarning($"未处理的选项:{optionText}");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
xiaofang/Assets/Script/UI/ZZZZZZ/OpcOrder2.cs.meta
Normal file
11
xiaofang/Assets/Script/UI/ZZZZZZ/OpcOrder2.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 715552698740679429dd23a682c4464e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -1,6 +1,7 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class FreePanel02 : MonoBehaviour
|
public class FreePanel02 : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -12,16 +13,4 @@ public class FreePanel02 : MonoBehaviour
|
|||||||
|
|
||||||
public GameObject msgPrefab;
|
public GameObject msgPrefab;
|
||||||
|
|
||||||
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user