日期界面的的显示逻辑更改

This commit is contained in:
lq 2024-11-30 23:32:17 +08:00
parent f061cf37a3
commit 7e8fee2657
21 changed files with 1867 additions and 20088 deletions

File diff suppressed because it is too large Load Diff

View File

@ -307,6 +307,7 @@ MonoBehaviour:
scoolSelectBtn: {fileID: 0} scoolSelectBtn: {fileID: 0}
schoolChoiceLable: {fileID: 7468736065055436939} schoolChoiceLable: {fileID: 7468736065055436939}
eventChoiceLable: {fileID: 7468736065685524839} eventChoiceLable: {fileID: 7468736065685524839}
mainPanel: {fileID: 0}
schoolInfoList: [] schoolInfoList: []
eventInfoList: [] eventInfoList: []
sceneItemList: [] sceneItemList: []
@ -340,6 +341,7 @@ MonoBehaviour:
- {fileID: 0} - {fileID: 0}
- {fileID: 0} - {fileID: 0}
toggleGroup: {fileID: 0} toggleGroup: {fileID: 0}
datePanel: {fileID: 0}
schoolId: 0 schoolId: 0
schoolName: schoolName:
sceneName: sceneName:
@ -347,6 +349,7 @@ MonoBehaviour:
eventName: eventName:
difficulty: difficulty:
isBuy: isBuy:
jsonReader: {fileID: 0}
--- !u!1 &7468736063783585410 --- !u!1 &7468736063783585410
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1818,7 +1821,6 @@ RectTransform:
m_Children: m_Children:
- {fileID: 7468736064052287472} - {fileID: 7468736064052287472}
- {fileID: 7468736064090762355} - {fileID: 7468736064090762355}
- {fileID: 7468736064565835862}
m_Father: {fileID: 7468736065685524838} m_Father: {fileID: 7468736065685524838}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -5264,109 +5266,3 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1 m_PixelsPerUnitMultiplier: 1
--- !u!1001 &6512689173613824345
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 7468736064314356685}
m_Modifications:
- target: {fileID: 4451807875245846794, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 7468736064314356684}
- target: {fileID: 4451807875245846798, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_Name
value: SceneToggle (2)
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5077e539162bb0043bcb36854410a610, type: 3}
--- !u!224 &7468736064565835862 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4451807875245846799, guid: 5077e539162bb0043bcb36854410a610, type: 3}
m_PrefabInstance: {fileID: 6512689173613824345}
m_PrefabAsset: {fileID: 0}

View File

@ -0,0 +1,781 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3746951257667673990
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951257667673989}
- component: {fileID: 3746951257667673987}
- component: {fileID: 3746951257667673988}
m_Layer: 5
m_Name: mid
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951257667673989
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257667673990}
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: 3746951257896284011}
- {fileID: 3746951258624620777}
m_Father: {fileID: 3746951258984600649}
m_RootOrder: 1
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: 0.5991, y: 33.8666}
m_SizeDelta: {x: 1135.0957, y: 483.2406}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951257667673987
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257667673990}
m_CullTransparentMesh: 1
--- !u!114 &3746951257667673988
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257667673990}
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: b137abc95e4bde4468b796060b311a90, type: 3}
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!1 &3746951257896284012
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951257896284011}
- component: {fileID: 3746951257896284009}
- component: {fileID: 3746951257896284010}
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 &3746951257896284011
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257896284012}
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: 3746951257667673989}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 174.79352, y: -40.214783}
m_SizeDelta: {x: 331.49194, y: 65.80499}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951257896284009
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257896284012}
m_CullTransparentMesh: 1
--- !u!114 &3746951257896284010
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257896284012}
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: 37
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 60
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u8BF7\u8F93\u5165\u6A21\u677F\u540D\u79F0\uFF1A"
--- !u!1 &3746951257987266704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951257987266719}
m_Layer: 5
m_Name: TemplatePanel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951257987266719
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951257987266704}
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: 3746951258984600649}
m_Father: {fileID: 0}
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: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3746951258108026581
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258108026580}
- component: {fileID: 3746951258108026578}
- component: {fileID: 3746951258108026579}
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 &3746951258108026580
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258108026581}
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: 3746951258288308393}
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: 0.00044441, y: -0.0001936}
m_SizeDelta: {x: 270.32, y: 78.205}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951258108026578
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258108026581}
m_CullTransparentMesh: 1
--- !u!114 &3746951258108026579
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258108026581}
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: 38
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u786E\u5B9A"
--- !u!1 &3746951258288308394
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258288308393}
- component: {fileID: 3746951258288308407}
- component: {fileID: 3746951258288308392}
m_Layer: 5
m_Name: btnSure
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951258288308393
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258288308394}
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: 3746951258108026580}
m_Father: {fileID: 3746951259225034960}
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: -0.2886, y: 1.9227}
m_SizeDelta: {x: 270.3218, y: 78.2055}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951258288308407
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258288308394}
m_CullTransparentMesh: 1
--- !u!114 &3746951258288308392
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258288308394}
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: 7121fe1df4efeda468c7013dc94ab4e4, type: 3}
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!1 &3746951258586956343
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258586956342}
- component: {fileID: 3746951258586956340}
- component: {fileID: 3746951258586956341}
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 &3746951258586956342
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258586956343}
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: 3746951259079573441}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 153.6044, y: -39.553497}
m_SizeDelta: {x: 270.0728, y: 46.3639}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951258586956340
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258586956343}
m_CullTransparentMesh: 1
--- !u!114 &3746951258586956341
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258586956343}
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: 38
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u4FDD\u5B58\u6F14\u7EC3\u6A21\u677F"
--- !u!1 &3746951258624620778
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258624620777}
m_Layer: 5
m_Name: Data
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951258624620777
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258624620778}
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: 3746951259200738643}
- {fileID: 3746951258995501819}
m_Father: {fileID: 3746951257667673989}
m_RootOrder: 1
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: 1.0932, y: 0.74114}
m_SizeDelta: {x: 634.58, y: 64.194}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3746951258984600650
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258984600649}
- component: {fileID: 3746951258984600663}
- component: {fileID: 3746951258984600648}
m_Layer: 5
m_Name: bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951258984600649
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258984600650}
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: 3746951259079573441}
- {fileID: 3746951257667673989}
- {fileID: 3746951259225034960}
m_Father: {fileID: 3746951257987266719}
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: 20.347473, y: -7.5932}
m_SizeDelta: {x: 1152.9937, y: 732.6714}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951258984600663
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258984600650}
m_CullTransparentMesh: 1
--- !u!114 &3746951258984600648
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258984600650}
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: 1778b39e1676bb94481f0b60a93119c5, 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 &3746951258995501820
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951258995501819}
- component: {fileID: 3746951258995501817}
- component: {fileID: 3746951258995501818}
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 &3746951258995501819
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258995501820}
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: 3746951258624620777}
m_RootOrder: 1
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: 0.0041656, y: 0.000099182}
m_SizeDelta: {x: 634.57, y: 64.194}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951258995501817
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258995501820}
m_CullTransparentMesh: 1
--- !u!114 &3746951258995501818
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951258995501820}
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: 0.98490566, g: 0.98490566, b: 0.98490566, 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: 35
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u6F14\u7EC3\u6A21\u677F 2022/02/33"
--- !u!1 &3746951259079573442
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951259079573441}
m_Layer: 5
m_Name: top
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951259079573441
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951259079573442}
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: 3746951258586956342}
m_Father: {fileID: 3746951258984600649}
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: -0.0015259, y: 317.73984}
m_SizeDelta: {x: 1153, y: 71.8773}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3746951259200738644
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951259200738643}
- component: {fileID: 3746951259200738641}
- component: {fileID: 3746951259200738642}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951259200738643
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951259200738644}
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: 3746951258624620777}
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: 0.0018993616, y: 0.000011146069}
m_SizeDelta: {x: 634.5728, y: 64.1938}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3746951259200738641
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951259200738644}
m_CullTransparentMesh: 1
--- !u!114 &3746951259200738642
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951259200738644}
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: 0.02745098}
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: 0}
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 &3746951259225034961
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3746951259225034960}
m_Layer: 5
m_Name: under
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3746951259225034960
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3746951259225034961}
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: 3746951258288308393}
m_Father: {fileID: 3746951258984600649}
m_RootOrder: 2
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: 0.60086, y: -287.05}
m_SizeDelta: {x: 1135.1, y: 158.59}
m_Pivot: {x: 0.5, y: 0.5}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e55a074b1a79a9045804c800bf094463
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bfda56da833e2384a9677cd3c976a436, type: 3}
m_Name: New Timeline
m_EditorClassIdentifier:
m_Version: 0
m_Tracks: []
m_FixedDuration: 0
m_EditorSettings:
m_Framerate: 60
m_ScenePreview: 1
m_DurationMode: 0
m_MarkerTrack: {fileID: 0}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6224821ec9d911e4c900f3c0e46e9374
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,318 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5207661253901823145
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5207661253901823144}
- component: {fileID: 5207661253901823151}
- component: {fileID: -4766942190322125191}
m_Layer: 5
m_Name: btSceneChoose
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5207661253901823144
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661253901823145}
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: 5207661254087907520}
- {fileID: 5207661254004645193}
m_Father: {fileID: 0}
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: 388.1544, y: 54.782}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5207661253901823151
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661253901823145}
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: 0}
toggleTransition: 1
graphic: {fileID: 0}
m_Group: {fileID: 0}
onValueChanged:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 5207661254004645194}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_IsOn: 0
--- !u!114 &-4766942190322125191
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661253901823145}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 888f2cd11d6d3ea4c9383ac4808687dc, type: 3}
m_Name:
m_EditorClassIdentifier:
sceneName: {fileID: 5207661254087907526}
sceneImage: {fileID: 0}
maskImage: {fileID: 0}
--- !u!1 &5207661254004645194
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5207661254004645193}
- component: {fileID: 5207661254004645199}
- component: {fileID: 5207661254004645192}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &5207661254004645193
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254004645194}
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: 5207661253901823144}
m_RootOrder: 1
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: -85, y: -3.7592}
m_SizeDelta: {x: 35, y: 35}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5207661254004645199
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254004645194}
m_CullTransparentMesh: 1
--- !u!114 &5207661254004645192
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254004645194}
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: 2ba493b2f778ccb42b1cb875a63f6588, 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 &5207661254087907521
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5207661254087907520}
- component: {fileID: 5207661254087907525}
- component: {fileID: 5207661254087907526}
- component: {fileID: 5207661254087907527}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Scene
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5207661254087907520
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254087907521}
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: 5207661253901823144}
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: 17.4, y: -7.4}
m_SizeDelta: {x: 150.0842, y: 43.7994}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5207661254087907525
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254087907521}
m_CullTransparentMesh: 1
--- !u!114 &5207661254087907526
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254087907521}
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: 32
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 49
m_Alignment: 7
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u53A8\u623F"
--- !u!114 &5207661254087907527
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5207661254087907521}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, 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.003921569, g: 1, b: 0, 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: 5207661254087907526}
m_OnClick:
m_PersistentCalls:
m_Calls: []

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 24498e4e4cc84ae4fa2a1e00b792e222
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -153,8 +153,8 @@ MonoBehaviour:
m_Alignment: 7 m_Alignment: 7
m_AlignByGeometry: 0 m_AlignByGeometry: 0
m_RichText: 1 m_RichText: 1
m_HorizontalOverflow: 0 m_HorizontalOverflow: 1
m_VerticalOverflow: 0 m_VerticalOverflow: 1
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: "\u603B\u6307\u6325" m_Text: "\u603B\u6307\u6325"
--- !u!114 &3344224971532102794 --- !u!114 &3344224971532102794
@ -210,6 +210,7 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 3344224972021141763} - component: {fileID: 3344224972021141763}
- component: {fileID: 5318261706421754197}
m_Layer: 5 m_Layer: 5
m_Name: btnDutyChoose m_Name: btnDutyChoose
m_TagString: Untagged m_TagString: Untagged
@ -239,3 +240,17 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 388.1544, y: 53.678} m_SizeDelta: {x: 388.1544, y: 53.678}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5318261706421754197
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3344224972021141760}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 29cd59ba8a2097b40a9db8344aa71a85, type: 3}
m_Name:
m_EditorClassIdentifier:
dutyImage: {fileID: 3344224971186253052}
dutyNameText: {fileID: 3344224971532102837}

View File

@ -641,7 +641,7 @@ 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: 560.5, y: -109} m_AnchoredPosition: {x: 560.5, y: -44}
m_SizeDelta: {x: 1121, y: 0} m_SizeDelta: {x: 1121, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5900002971599260725 --- !u!114 &5900002971599260725

View File

@ -0,0 +1,16 @@
[
{
"ID": 5001,
"Note": "火灾",
"Name": 5001,
"Role": "8000|8001|8002|8003|8004|8005|8006|8008|8009|8010",
"DisasterLocation": "2001|2002|2003"
},
{
"ID": 5002,
"Note": "塌方",
"Name": 5002,
"Role": "8000|8001|8002|8003|8004|8005|8006|8008|8009|8010",
"DisasterLocation": 2004
}
]

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2ef075e4830019a42b84d8d05d13d81c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -206,358 +206,11 @@ Transform:
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}
--- !u!1 &169217707 --- !u!224 &880990552 stripped
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 169217708}
- component: {fileID: 169217710}
- component: {fileID: 169217709}
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 &169217708
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 3746951257794437575}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 169217707}
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: 410418754}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 174.79352, y: -40.214783}
m_SizeDelta: {x: 331.49194, y: 65.80499}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &169217709
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 169217707}
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: 37
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 60
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u8BF7\u8F93\u5165\u6A21\u677F\u540D\u79F0\uFF1A"
--- !u!222 &169217710
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 169217707}
m_CullTransparentMesh: 1
--- !u!1 &410418753
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 410418754}
- component: {fileID: 410418756}
- component: {fileID: 410418755}
m_Layer: 5
m_Name: mid
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &410418754
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 410418753}
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: 169217708}
- {fileID: 1586469166}
m_Father: {fileID: 1240511886}
m_RootOrder: 1
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: 0.5991, y: 33.8666}
m_SizeDelta: {x: 1135.0957, y: 483.2406}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &410418755
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 410418753}
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: b137abc95e4bde4468b796060b311a90, type: 3}
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!222 &410418756
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 410418753}
m_CullTransparentMesh: 1
--- !u!1 &594551149
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 594551150}
- component: {fileID: 594551152}
- component: {fileID: 594551151}
m_Layer: 5
m_Name: btnSure
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &594551150
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 594551149}
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: 1035026195}
m_Father: {fileID: 2068181271}
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: -0.2886, y: 1.9227}
m_SizeDelta: {x: 270.3218, y: 78.2055}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &594551151
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 594551149}
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: 7121fe1df4efeda468c7013dc94ab4e4, type: 3}
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!222 &594551152
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 594551149}
m_CullTransparentMesh: 1
--- !u!1 &880990551
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 880990552}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &880990552
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 880990551}
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: 1240511886}
m_Father: {fileID: 1214840366}
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: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1035026194
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1035026195}
- component: {fileID: 1035026197}
- component: {fileID: 1035026196}
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 &1035026195
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035026194}
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: 594551150}
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: 0.00044441, y: -0.0001936}
m_SizeDelta: {x: 270.32, y: 78.205}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1035026196
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035026194}
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: 38
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u786E\u5B9A"
--- !u!222 &1035026197
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035026194}
m_CullTransparentMesh: 1
--- !u!1 &1068367585 --- !u!1 &1068367585
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -728,245 +381,6 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0} m_Pivot: {x: 0, y: 0}
--- !u!1 &1219185467
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1219185468}
- component: {fileID: 1219185470}
- component: {fileID: 1219185469}
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 &1219185468
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1219185467}
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: 1586469166}
m_RootOrder: 1
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: 0.0041656, y: 0.000099182}
m_SizeDelta: {x: 634.57, y: 64.194}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1219185469
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1219185467}
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: 0.98490566, g: 0.98490566, b: 0.98490566, 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: 35
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u6F14\u7EC3\u6A21\u677F 2022/02/33"
--- !u!222 &1219185470
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1219185467}
m_CullTransparentMesh: 1
--- !u!1 &1240511885
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1240511886}
- component: {fileID: 1240511888}
- component: {fileID: 1240511887}
m_Layer: 5
m_Name: bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1240511886
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240511885}
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: 1940495878}
- {fileID: 410418754}
- {fileID: 2068181271}
m_Father: {fileID: 880990552}
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: 20.347473, y: -7.5932}
m_SizeDelta: {x: 1152.9937, y: 732.6714}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1240511887
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240511885}
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: 1778b39e1676bb94481f0b60a93119c5, 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!222 &1240511888
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240511885}
m_CullTransparentMesh: 1
--- !u!1 &1364009968
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1364009969}
- component: {fileID: 1364009971}
- component: {fileID: 1364009970}
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 &1364009969
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364009968}
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: 1940495878}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 153.6044, y: -39.553497}
m_SizeDelta: {x: 270.0728, y: 46.3639}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1364009970
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364009968}
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: 38
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u4FDD\u5B58\u6F14\u7EC3\u6A21\u677F"
--- !u!222 &1364009971
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364009968}
m_CullTransparentMesh: 1
--- !u!1 &1503610851 --- !u!1 &1503610851
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1061,191 +475,100 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &1586469165 --- !u!1001 &3746951257794437575
GameObject: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} serializedVersion: 2
m_PrefabInstance: {fileID: 0} m_Modification:
m_PrefabAsset: {fileID: 0} m_TransformParent: {fileID: 1214840366}
serializedVersion: 6 m_Modifications:
m_Component: - target: {fileID: 3746951257987266704, guid: e55a074b1a79a9045804c800bf094463, type: 3}
- component: {fileID: 1586469166} propertyPath: m_Name
m_Layer: 5 value: TemplatePanel
m_Name: Data objectReference: {fileID: 0}
m_TagString: Untagged - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_Icon: {fileID: 0} propertyPath: m_Pivot.x
m_NavMeshLayer: 0 value: 0.5
m_StaticEditorFlags: 0 objectReference: {fileID: 0}
m_IsActive: 1 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
--- !u!224 &1586469166 propertyPath: m_Pivot.y
RectTransform: value: 0.5
m_ObjectHideFlags: 0 objectReference: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_PrefabInstance: {fileID: 0} propertyPath: m_RootOrder
m_PrefabAsset: {fileID: 0} value: 0
m_GameObject: {fileID: 1586469165} objectReference: {fileID: 0}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_LocalPosition: {x: 0, y: 0, z: 0} propertyPath: m_AnchorMax.x
m_LocalScale: {x: 1, y: 1, z: 1} value: 1
m_ConstrainProportionsScale: 0 objectReference: {fileID: 0}
m_Children: - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
- {fileID: 2094445716} propertyPath: m_AnchorMax.y
- {fileID: 1219185468} value: 1
m_Father: {fileID: 410418754} objectReference: {fileID: 0}
m_RootOrder: 1 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} propertyPath: m_AnchorMin.x
m_AnchorMin: {x: 0.5, y: 0.5} value: 0
m_AnchorMax: {x: 0.5, y: 0.5} objectReference: {fileID: 0}
m_AnchoredPosition: {x: 1.0932, y: 0.74114} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_SizeDelta: {x: 634.58, y: 64.194} propertyPath: m_AnchorMin.y
m_Pivot: {x: 0.5, y: 0.5} value: 0
--- !u!1 &1940495877 objectReference: {fileID: 0}
GameObject: - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_ObjectHideFlags: 0 propertyPath: m_SizeDelta.x
m_CorrespondingSourceObject: {fileID: 0} value: 0
m_PrefabInstance: {fileID: 0} objectReference: {fileID: 0}
m_PrefabAsset: {fileID: 0} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
serializedVersion: 6 propertyPath: m_SizeDelta.y
m_Component: value: 0
- component: {fileID: 1940495878} objectReference: {fileID: 0}
m_Layer: 5 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_Name: top propertyPath: m_LocalPosition.x
m_TagString: Untagged value: 0
m_Icon: {fileID: 0} objectReference: {fileID: 0}
m_NavMeshLayer: 0 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_StaticEditorFlags: 0 propertyPath: m_LocalPosition.y
m_IsActive: 1 value: 0
--- !u!224 &1940495878 objectReference: {fileID: 0}
RectTransform: - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_ObjectHideFlags: 0 propertyPath: m_LocalPosition.z
m_CorrespondingSourceObject: {fileID: 0} value: 0
m_PrefabInstance: {fileID: 0} objectReference: {fileID: 0}
m_PrefabAsset: {fileID: 0} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_GameObject: {fileID: 1940495877} propertyPath: m_LocalRotation.w
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} value: 1
m_LocalPosition: {x: 0, y: 0, z: 0} objectReference: {fileID: 0}
m_LocalScale: {x: 1, y: 1, z: 1} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_ConstrainProportionsScale: 0 propertyPath: m_LocalRotation.x
m_Children: value: 0
- {fileID: 1364009969} objectReference: {fileID: 0}
m_Father: {fileID: 1240511886} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_RootOrder: 0 propertyPath: m_LocalRotation.y
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} value: 0
m_AnchorMin: {x: 0.5, y: 0.5} objectReference: {fileID: 0}
m_AnchorMax: {x: 0.5, y: 0.5} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_AnchoredPosition: {x: -0.0015259, y: 317.73984} propertyPath: m_LocalRotation.z
m_SizeDelta: {x: 1153, y: 71.8773} value: 0
m_Pivot: {x: 0.5, y: 0.5} objectReference: {fileID: 0}
--- !u!1 &2068181270 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
GameObject: propertyPath: m_AnchoredPosition.x
m_ObjectHideFlags: 0 value: 0
m_CorrespondingSourceObject: {fileID: 0} objectReference: {fileID: 0}
m_PrefabInstance: {fileID: 0} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_PrefabAsset: {fileID: 0} propertyPath: m_AnchoredPosition.y
serializedVersion: 6 value: 0
m_Component: objectReference: {fileID: 0}
- component: {fileID: 2068181271} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_Layer: 5 propertyPath: m_LocalEulerAnglesHint.x
m_Name: under value: 0
m_TagString: Untagged objectReference: {fileID: 0}
m_Icon: {fileID: 0} - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_NavMeshLayer: 0 propertyPath: m_LocalEulerAnglesHint.y
m_StaticEditorFlags: 0 value: 0
m_IsActive: 1 objectReference: {fileID: 0}
--- !u!224 &2068181271 - target: {fileID: 3746951257987266719, guid: e55a074b1a79a9045804c800bf094463, type: 3}
RectTransform: propertyPath: m_LocalEulerAnglesHint.z
m_ObjectHideFlags: 0 value: 0
m_CorrespondingSourceObject: {fileID: 0} objectReference: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_RemovedComponents: []
m_PrefabAsset: {fileID: 0} m_SourcePrefab: {fileID: 100100000, guid: e55a074b1a79a9045804c800bf094463, type: 3}
m_GameObject: {fileID: 2068181270}
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: 594551150}
m_Father: {fileID: 1240511886}
m_RootOrder: 2
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: 0.60086, y: -287.05}
m_SizeDelta: {x: 1135.1, y: 158.59}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2094445715
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2094445716}
- component: {fileID: 2094445718}
- component: {fileID: 2094445717}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2094445716
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2094445715}
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: 1586469166}
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: 0.0018993616, y: 0.000011146069}
m_SizeDelta: {x: 634.5728, y: 64.1938}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2094445717
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2094445715}
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: 0.02745098}
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: 0}
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!222 &2094445718
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2094445715}
m_CullTransparentMesh: 1

View File

@ -6,22 +6,31 @@ public class JSONReader : MonoBehaviour
// 让 Unity 编辑器能够分别拖入两个不同的 JSON 文件 // 让 Unity 编辑器能够分别拖入两个不同的 JSON 文件
public TextAsset npcJsonFile; // 用来加载 NPC 数据 public TextAsset npcJsonFile; // 用来加载 NPC 数据
public TextAsset locationJsonFile; // 用来加载 Location 数据 public TextAsset locationJsonFile; // 用来加载 Location 数据
public TextAsset eventJsonFile;
public Dictionary<int, NPCData> npcDictionary = new Dictionary<int, NPCData>();
public Dictionary<int, LocationData> locationDictionary = new Dictionary<int, LocationData>();
public Dictionary<int, EventData> eventDictionary = new Dictionary<int, EventData>();
void Start() void Awake()
{ {
// 解析 NPC 和 Location 数据 // 解析 NPC 和 Location 数据
Dictionary<int, NPCData> npcDictionary = ParseJSON(npcJsonFile.text); npcDictionary = ParseJSON(npcJsonFile.text);
Dictionary<int, LocationData> locationDictionary = LocationParseJSON(locationJsonFile.text); locationDictionary = LocationParseJSON(locationJsonFile.text);
eventDictionary = EventParseJSON(eventJsonFile.text);
foreach (var npc in npcDictionary)
{
//Debug.Log($"NPC ID: {npc.Value.ID} Name: {npc.Value.Name}");
}
//打印 NPC 数据 //打印 NPC 数据
PrintNPCData(npcDictionary); //PrintNPCData(npcDictionary);
// 打印 Location 数据 // 打印 Location 数据
PrintLocationData(locationDictionary); ////PrintLocationData(locationDictionary);
} }
// 解析 JSON 字符串为 NPC 数据 // 解析 JSON 字符串为 NPC 数据
Dictionary<int, NPCData> ParseJSON(string json) public Dictionary<int, NPCData> ParseJSON(string json)
{ {
NPCData[] npcArray = JsonHelper.FromJson<NPCData>(json); NPCData[] npcArray = JsonHelper.FromJson<NPCData>(json);
Dictionary<int, NPCData> npcDictionary = new Dictionary<int, NPCData>(); Dictionary<int, NPCData> npcDictionary = new Dictionary<int, NPCData>();
@ -35,7 +44,7 @@ public class JSONReader : MonoBehaviour
} }
// 解析 JSON 字符串为 Location 数据 // 解析 JSON 字符串为 Location 数据
Dictionary<int, LocationData> LocationParseJSON(string json) public Dictionary<int, LocationData> LocationParseJSON(string json)
{ {
LocationData[] locationArray = JsonHelper.FromJson<LocationData>(json); LocationData[] locationArray = JsonHelper.FromJson<LocationData>(json);
Dictionary<int, LocationData> locationDictionary = new Dictionary<int, LocationData>(); Dictionary<int, LocationData> locationDictionary = new Dictionary<int, LocationData>();
@ -47,44 +56,57 @@ public class JSONReader : MonoBehaviour
return locationDictionary; return locationDictionary;
} }
// 解析 JSON 字符串为 Event 数据
public Dictionary<int, EventData> EventParseJSON(string json)
{
EventData[] locationArray = JsonHelper.FromJson<EventData>(json);
Dictionary<int, EventData> locationDictionary = new Dictionary<int, EventData>();
foreach (var location in locationArray)
{
locationDictionary[location.ID] = location;
}
return locationDictionary;
}
// 打印 NPC 数据 // 打印 NPC 数据
void PrintNPCData(Dictionary<int, NPCData> npcDictionary) //void PrintNPCData(Dictionary<int, NPCData> npcDictionary)
{ //{
foreach (var npc in npcDictionary) // foreach (var npc in npcDictionary)
{ // {
Debug.Log($"NPC ID: {npc.Value.ID}"); // Debug.Log($"NPC ID: {npc.Value.ID}");
Debug.Log($"Note: {npc.Value.Note}"); // Debug.Log($"Note: {npc.Value.Note}");
Debug.Log($"Name: {npc.Value.Name}"); // Debug.Log($"Name: {npc.Value.Name}");
Debug.Log($"ActionMode: {npc.Value.ActionMode}"); // Debug.Log($"ActionMode: {npc.Value.ActionMode}");
Debug.Log($"Group: {npc.Value.Group}"); // Debug.Log($"Group: {npc.Value.Group}");
Debug.Log($"GroupLeader: {npc.Value.GroupLeader}"); // Debug.Log($"GroupLeader: {npc.Value.GroupLeader}");
Debug.Log($"IsLeadingNPC: {npc.Value.IsLeadingNPC}"); // Debug.Log($"IsLeadingNPC: {npc.Value.IsLeadingNPC}");
Debug.Log($"ICON: {npc.Value.ICON}"); // Debug.Log($"ICON: {npc.Value.ICON}");
Debug.Log($"WeightLimit: {npc.Value.WeightLimit}"); // Debug.Log($"WeightLimit: {npc.Value.WeightLimit}");
Debug.Log($"Stats: {npc.Value.Stats}"); // Debug.Log($"Stats: {npc.Value.Stats}");
Debug.Log($"Skills: {npc.Value.Skills}"); // Debug.Log($"Skills: {npc.Value.Skills}");
Debug.Log($"ResPath: {npc.Value.ResPath}"); // Debug.Log($"ResPath: {npc.Value.ResPath}");
Debug.Log("------------------------------------"); // Debug.Log("------------------------------------");
} // }
} //}
// ´òÓ¡ Location Êý¾Ý // // 打印 Location 数据
void PrintLocationData(Dictionary<int, LocationData> locationDictionary) //void PrintLocationData(Dictionary<int, LocationData> locationDictionary)
{ //{
foreach (var location in locationDictionary) // foreach (var location in locationDictionary)
{ // {
Debug.Log($"Location ID: {location.Value.ID}"); // Debug.Log($"Location ID: {location.Value.ID}");
Debug.Log($"Note: {location.Value.Note}"); // Debug.Log($"Note: {location.Value.Note}");
Debug.Log($"Name: {location.Value.Name}"); // Debug.Log($"Name: {location.Value.Name}");
Debug.Log($"Scene: {location.Value.Scene}"); // Debug.Log($"Scene: {location.Value.Scene}");
Debug.Log($"NpcRatio: {location.Value.NpcRatio}"); // Debug.Log($"NpcRatio: {location.Value.NpcRatio}");
Debug.Log($"Oversee: {location.Value.Oversee}"); // Debug.Log($"Oversee: {location.Value.Oversee}");
Debug.Log($"RoleLimit: {location.Value.RoleLimit}"); // Debug.Log($"RoleLimit: {location.Value.RoleLimit}");
Debug.Log($"Level: {location.Value.Level}"); // Debug.Log($"Level: {location.Value.Level}");
Debug.Log("==========================="); // Debug.Log("===========================");
} // }
} //}
} }
// 帮助类,用于解析 JSON 数组 // 帮助类,用于解析 JSON 数组
@ -133,3 +155,13 @@ public class LocationData
public string RoleLimit; public string RoleLimit;
public int Level; public int Level;
} }
[System.Serializable]
public class EventData
{
public int ID;
public string Note;
public int Name;
public string Role;
public string DisasterLocation;
}

View File

@ -39,6 +39,10 @@ public class Panel : MonoBehaviour
public Transform peopleCountent;//人员的窗口 public Transform peopleCountent;//人员的窗口
public GameObject peoplePrefab;//人员的预制体 public GameObject peoplePrefab;//人员的预制体
public Transform panelContent; public Transform panelContent;
public GameObject dutyPrefab;//职责预制体
public Transform dutyCount;//职责的窗口
public GameObject scenePrefab;
public Transform sceneCount;
public GameObject ManagerPanelPrefab; // 预制体,包含人员管理面板 public GameObject ManagerPanelPrefab; // 预制体,包含人员管理面板
@ -50,6 +54,7 @@ public class Panel : MonoBehaviour
public SelectedInfo selectedInfo; public SelectedInfo selectedInfo;
public Dictionary<string, List<SelectedInfo>> sceneDataDictionary = new Dictionary<string, List<SelectedInfo>>();//不同的场景存取不同的人员数据 public Dictionary<string, List<SelectedInfo>> sceneDataDictionary = new Dictionary<string, List<SelectedInfo>>();//不同的场景存取不同的人员数据
public ManagerPanel managerPanel1; public ManagerPanel managerPanel1;
public JSONReader jsonReader1;
private bool isPersonSelected = false; // 标志是否选择了人员 private bool isPersonSelected = false; // 标志是否选择了人员
private bool isDutySelected = false; // 标志是否选择了职责 private bool isDutySelected = false; // 标志是否选择了职责
private bool isSceneSelected = false; // 标志是否选择了场景 private bool isSceneSelected = false; // 标志是否选择了场景
@ -59,6 +64,8 @@ public class Panel : MonoBehaviour
{ {
selectedInfo = new SelectedInfo(); selectedInfo = new SelectedInfo();
DynamicLoadingPeople(); DynamicLoadingPeople();
DynamicLoadingDuty();
DynamicLoadingScene();
} }
// Update is called once per frame // Update is called once per frame
@ -74,20 +81,37 @@ public class Panel : MonoBehaviour
for (int i = 0; i < 20; i++) for (int i = 0; i < 20; i++)
{ {
GameObject item = GameObject.Instantiate<GameObject>(peoplePrefab, peopleCountent); GameObject item = GameObject.Instantiate<GameObject>(peoplePrefab, peopleCountent);
PeopleItem peopleItem = item.GetComponent<PeopleItem>();
peopleList.Add(item);// 将每个实例化的角色添加到列表中 peopleList.Add(item);// 将每个实例化的角色添加到列表中
} }
} }
//动态加载职责 //动态加载职责
public void DynamicLoadingDuty() public void DynamicLoadingDuty()
{ {
foreach (var npcData in jsonReader1.npcDictionary)
{
GameObject item = GameObject.Instantiate<GameObject>(dutyPrefab, dutyCount);
DutyItem dutyItem = item.GetComponent<DutyItem>();
dutyItem.dutyNameText.text = npcData.Value.Note;
Debug.Log("$$$$$$$$$$$$$$" + dutyItem.dutyNameText.text);
peopleList.Add(item);// 将每个实例化的角色添加到列表中
}
} }
//动态加载场景 //动态加载场景
public void DynamicLoadingScene() public void DynamicLoadingScene()
{ {
foreach (var npcData in jsonReader1.locationDictionary)
{
GameObject item = GameObject.Instantiate<GameObject>(scenePrefab, sceneCount);
SceneItem sceneItem = item.GetComponent<SceneItem>();
sceneItem.sceneName.text = npcData.Value.Note;
Debug.Log("$$$$$$$$$$$$$$" + sceneItem.sceneName.text);
peopleList.Add(item);// 将每个实例化的角色添加到列表中
}
} }
//处理人员管理按钮 //处理人员管理按钮

View File

@ -6,7 +6,7 @@ using UnityEngine.UI;
public class DutyItem : MonoBehaviour public class DutyItem : MonoBehaviour
{ {
public Image dutyImage; public Image dutyImage;
public Text dutyText; public Text dutyNameText;
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {

View File

@ -8,6 +8,8 @@ public class DatePanel : MonoBehaviour
[Header("组件")] [Header("组件")]
public Button calendarBtn; // 日历按钮 public Button calendarBtn; // 日历按钮
public GameObject calendarPanel; // 日历面板 public GameObject calendarPanel; // 日历面板
public GameObject submitPanel;//Ä£°åÃæ°å
public Toggle preservationToggle;//±£´æToggle
public Text SchoolText; //事故校区文本 public Text SchoolText; //事故校区文本
public Text PlaceText; //事故地点文本 public Text PlaceText; //事故地点文本
public Text NumberText; //参与人数文本 public Text NumberText; //参与人数文本
@ -16,6 +18,7 @@ public class DatePanel : MonoBehaviour
{ {
// 确保初始时面板是关闭的 // 确保初始时面板是关闭的
calendarPanel.SetActive(false); calendarPanel.SetActive(false);
preservationToggle.isOn = false;
} }
// Update is called once per frame // Update is called once per frame
@ -31,4 +34,15 @@ public class DatePanel : MonoBehaviour
bool isActive = calendarPanel.activeSelf; bool isActive = calendarPanel.activeSelf;
calendarPanel.SetActive(!isActive); calendarPanel.SetActive(!isActive);
} }
public void OnClickSubmitPanel()
{
if(preservationToggle.isOn==true)
{
submitPanel.gameObject.SetActive(true);
}
}
public void OnClickSurePanel()
{
submitPanel.gameObject.SetActive(false);
}
} }

View File

@ -132,6 +132,11 @@ public class ManagerPanel : MonoBehaviour
//CreatePeopleItem(); //CreatePeopleItem();
} }
//加载人员弹窗的子物体 //关闭人员窗口
public void OnCloseWindowsBtn()
{
Debug.Log("111111111111111");
peopleWindowsPrefab.gameObject.SetActive(false);
}
} }

View File

@ -42,4 +42,8 @@ public class PersonnelPanel : MonoBehaviour
PersonnelInfo personnelItem = item.GetComponent<PersonnelInfo>(); PersonnelInfo personnelItem = item.GetComponent<PersonnelInfo>();
personnelItem.nameText.text = person.name; // ÉèÖÃÐÕÃû personnelItem.nameText.text = person.name; // ÉèÖÃÐÕÃû
} }
public void OnClickBtn()
{
transform.gameObject.SetActive(false);
}
} }

View File

@ -41,6 +41,7 @@ public class SelectScenePanel : MonoBehaviour
public string eventName; public string eventName;
public string difficulty; public string difficulty;
public string isBuy; public string isBuy;
public JSONReader jsonReader;
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
@ -120,12 +121,13 @@ public class SelectScenePanel : MonoBehaviour
//动态加载事件选择预制体 //动态加载事件选择预制体
public void InstantiateEventPrefab() public void InstantiateEventPrefab()
{ {
for (int i = 0; i < 6; i++) foreach(var eventData in jsonReader.eventDictionary)
{ {
int i=2;
GameObject slot = GameObject.Instantiate<GameObject>(eventPrefab, eventList); GameObject slot = GameObject.Instantiate<GameObject>(eventPrefab, eventList);
EventInfo item = slot.GetComponent<EventInfo>(); EventInfo item = slot.GetComponent<EventInfo>();
item.eventName.text = "Í£³µ³¡Æð»ð"; item.eventName.text = eventData.Value.Note;
item.eventId = i*10;
Toggle toggle = slot.GetComponent<Toggle>(); Toggle toggle = slot.GetComponent<Toggle>();
if (toggle != null) if (toggle != null)
@ -136,6 +138,7 @@ public class SelectScenePanel : MonoBehaviour
// 将 Toggle 添加到 schooltoggleList 中 // 将 Toggle 添加到 schooltoggleList 中
eventToggleList[i] = toggle; eventToggleList[i] = toggle;
i++;
// 将 SchoolInfo 对象添加到 schoolInfos 列表中 // 将 SchoolInfo 对象添加到 schoolInfos 列表中
eventInfoList.Add(item); eventInfoList.Add(item);
@ -152,7 +155,7 @@ public class SelectScenePanel : MonoBehaviour
if (item.gameObject.transform.GetComponent<Toggle>().isOn) if (item.gameObject.transform.GetComponent<Toggle>().isOn)
{ {
this.schoolId = item.schoolId; this.schoolId = item.schoolId;
this.schoolName = item.schoolName.ToString(); this.schoolName = item.schoolName.text;
} }
} }
Debug.Log("###############1:" + this.schoolId); Debug.Log("###############1:" + this.schoolId);
@ -184,11 +187,13 @@ public class SelectScenePanel : MonoBehaviour
bool eventSelected = false; // 检查是否有场景被选择 bool eventSelected = false; // 检查是否有场景被选择
foreach (EventInfo item in eventInfoList) foreach (EventInfo item in eventInfoList)
{ {
// 检查当前的 Toggle 是否被选中 // 检查当前的 Toggle 是否被选中
if (item.gameObject.transform.GetComponent<Toggle>().isOn) if (item.gameObject.transform.GetComponent<Toggle>().isOn)
{ {
// 设置场景名称 // 设置场景名称
this.eventName = item.eventName.text; // 获取 Text 组件的文本 this.eventName = item.eventName.text; // 获取 Text 组件的文本
Debug.Log(this.eventName);
eventSelected = true; eventSelected = true;
break; // 找到选中的场景后退出循环 break; // 找到选中的场景后退出循环
} }
@ -207,14 +212,13 @@ public class SelectScenePanel : MonoBehaviour
this.eventName = item.eventName.text; this.eventName = item.eventName.text;
} }
} }
//Debug.Log("%%%%%%%%%%%%%1:"+ this.eventId); Debug.Log("%%%%%%%%%%%%%1:"+ this.eventId);
//Debug.Log("%%%%%%%%%%%%%2:" + this.eventName); Debug.Log("%%%%%%%%%%%%%2:" + this.eventName);
} }
//随机事件 //随机事件
public void OnRandomEventClick() public void OnRandomEventClick()
{ {
//Debug.Log("&&&&&&&&&&&&&&&&&&&&&&&&&7" + eventInfoList.Count);
// 随机选择一个事件 // 随机选择一个事件
if (eventInfoList.Count > 0) if (eventInfoList.Count > 0)
{ {