diff --git a/xiaofang/Assets/Scenes/Tmap 1.unity b/xiaofang/Assets/Scenes/Tmap 1.unity index 7383ccf0..63ed08f4 100644 --- a/xiaofang/Assets/Scenes/Tmap 1.unity +++ b/xiaofang/Assets/Scenes/Tmap 1.unity @@ -11753,6 +11753,16 @@ Transform: m_CorrespondingSourceObject: {fileID: 461074, guid: f8a87c151921ae340b41003b1fef62bd, type: 3} m_PrefabInstance: {fileID: 560202071} m_PrefabAsset: {fileID: 0} +--- !u!1 &561805296 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 6852673806710748770, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_PrefabInstance: {fileID: 2044803814} + m_PrefabAsset: {fileID: 0} +--- !u!224 &561805297 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 8910930061191087685, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_PrefabInstance: {fileID: 2044803814} + m_PrefabAsset: {fileID: 0} --- !u!1 &562172487 GameObject: m_ObjectHideFlags: 0 @@ -12855,52 +12865,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 2fafe2cfe61f6974895a912c3755e8f1, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!1 &639814359 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 639814361} - - component: {fileID: 639814360} - m_Layer: 0 - m_Name: BurstCollisionWorld - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &639814360 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 639814359} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1a161c4294214a4fbcb7e9e94800494, type: 3} - m_Name: - m_EditorClassIdentifier: - cellSpans: - m_AlignBytes: 16 ---- !u!4 &639814361 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 639814359} - 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: 0} - m_RootOrder: 43 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &639843208 PrefabInstance: m_ObjectHideFlags: 0 @@ -15256,52 +15220,6 @@ Transform: m_CorrespondingSourceObject: {fileID: 450550, guid: b4851c0c46e990441a43cf6ae8bd02cf, type: 3} m_PrefabInstance: {fileID: 785615460} m_PrefabAsset: {fileID: 0} ---- !u!1 &788190908 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 788190910} - - component: {fileID: 788190909} - m_Layer: 0 - m_Name: BurstCollisionWorld - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &788190909 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 788190908} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1a161c4294214a4fbcb7e9e94800494, type: 3} - m_Name: - m_EditorClassIdentifier: - cellSpans: - m_AlignBytes: 16 ---- !u!4 &788190910 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 788190908} - 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: 0} - m_RootOrder: 43 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &790279502 GameObject: m_ObjectHideFlags: 0 @@ -18376,6 +18294,52 @@ MeshCollider: m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -889180119648741084, guid: 00003e04dc9a2534eb207f108c7b0cd3, type: 3} +--- !u!1 &1000215348 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1000215350} + - component: {fileID: 1000215349} + m_Layer: 0 + m_Name: BurstCollisionWorld + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1000215349 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1000215348} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1a161c4294214a4fbcb7e9e94800494, type: 3} + m_Name: + m_EditorClassIdentifier: + cellSpans: + m_AlignBytes: 16 +--- !u!4 &1000215350 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1000215348} + 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: 0} + m_RootOrder: 43 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1001729663 PrefabInstance: m_ObjectHideFlags: 0 @@ -19310,6 +19274,83 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Id: 1022 +--- !u!1 &1051024576 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1051024577} + - component: {fileID: 1051024579} + - component: {fileID: 1051024578} + m_Layer: 5 + m_Name: icn_stairway_textbg_2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1051024577 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051024576} + 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: 1336885294} + m_Father: {fileID: 2043937648} + 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: 179.91614, y: 0} + m_SizeDelta: {x: 307.8323, y: 64} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1051024578 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051024576} + 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: 423a1abea6288464eb94fecd68e2c906, 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 &1051024579 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051024576} + m_CullTransparentMesh: 1 --- !u!1001 &1053217553 PrefabInstance: m_ObjectHideFlags: 0 @@ -19408,6 +19449,128 @@ Transform: m_CorrespondingSourceObject: {fileID: 7645266174261149627, guid: 562e2877764dbb248a3ba04ac32ad56a, type: 3} m_PrefabInstance: {fileID: 1053217553} m_PrefabAsset: {fileID: 0} +--- !u!1 &1056641194 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1056641195} + - component: {fileID: 1056641198} + - component: {fileID: 1056641197} + - component: {fileID: 1056641196} + m_Layer: 5 + m_Name: Button (Legacy) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1056641195 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1056641194} + 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: 1359140486} + m_Father: {fileID: 561805297} + m_RootOrder: 4 + 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: -10.1, y: -451.8} + m_SizeDelta: {x: 322, y: 98} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1056641196 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1056641194} + 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.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: 1056641197} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1056641197 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1056641194} + 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: 9988113a3283dec4eb2cd8c093c4359e, 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 &1056641198 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1056641194} + m_CullTransparentMesh: 1 --- !u!1001 &1058019977 PrefabInstance: m_ObjectHideFlags: 0 @@ -19867,6 +20030,17 @@ MeshCollider: m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -2680795407131378631, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} +--- !u!114 &1082812721 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 1986279547836566314, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_PrefabInstance: {fileID: 2044803814} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &1085908005 PrefabInstance: m_ObjectHideFlags: 0 @@ -23343,6 +23517,86 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Id: 1087 +--- !u!1 &1336885293 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1336885294} + - component: {fileID: 1336885296} + - component: {fileID: 1336885295} + m_Layer: 5 + m_Name: icn_stairway_text_2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1336885294 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1336885293} + 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: 1051024577} + 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: 18, y: 0} + m_SizeDelta: {x: 264.5992, y: 34.1802} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1336885295 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1336885293} + 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.99215686, 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: 30 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: "5\u53F7\u697C\u68AF\u8DEF\u697C\u68AF\u8DEF" +--- !u!222 &1336885296 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1336885293} + m_CullTransparentMesh: 1 --- !u!1 &1338175861 GameObject: m_ObjectHideFlags: 0 @@ -23716,6 +23970,86 @@ Transform: m_CorrespondingSourceObject: {fileID: 483202, guid: 4ba769e43d710974c9d003dcdf6bfdf7, type: 3} m_PrefabInstance: {fileID: 1355901648} m_PrefabAsset: {fileID: 0} +--- !u!1 &1359140485 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1359140486} + - component: {fileID: 1359140488} + - component: {fileID: 1359140487} + 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 &1359140486 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1359140485} + 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: 1056641195} + 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: 12.6, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1359140487 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1359140485} + 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.509434, g: 0.509434, b: 0.509434, 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: 63 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 79 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: "\u786E\u5B9A" +--- !u!222 &1359140488 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1359140485} + m_CullTransparentMesh: 1 --- !u!1 &1359335858 GameObject: m_ObjectHideFlags: 0 @@ -34125,6 +34459,128 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Id: 1032 +--- !u!1 &2043937647 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2043937648} + - component: {fileID: 2043937651} + - component: {fileID: 2043937650} + - component: {fileID: 2043937649} + m_Layer: 5 + m_Name: icn_stairway_4 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2043937648 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2043937647} + 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: 1051024577} + m_Father: {fileID: 561805297} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -692, y: -76.9} + m_SizeDelta: {x: 46, y: 44} + m_Pivot: {x: 1, y: 0.5} +--- !u!114 &2043937649 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2043937647} + 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.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: 2043937650} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &2043937650 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2043937647} + 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: 86eecc2dd81ad474fa81787b381d8d3d, 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 &2043937651 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2043937647} + m_CullTransparentMesh: 1 --- !u!1001 &2044803814 PrefabInstance: m_ObjectHideFlags: 0 @@ -34134,7 +34590,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 676728424, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: Bg @@ -34156,6 +34612,10 @@ PrefabInstance: propertyPath: Tip_4 value: objectReference: {fileID: 2044803820} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: Sumbit + value: + objectReference: {fileID: 1082812721} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: Tip123 value: @@ -34164,6 +34624,10 @@ PrefabInstance: propertyPath: content value: objectReference: {fileID: 2044803818} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: Commend1 + value: + objectReference: {fileID: 561805296} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: TimeText value: @@ -34180,10 +34644,30 @@ PrefabInstance: propertyPath: RightText1 value: objectReference: {fileID: 2044803815} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: jsonReader + value: + objectReference: {fileID: 1039624186} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: luxianSure + value: + objectReference: {fileID: 1056641196} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: DiaLogBoxTitle value: objectReference: {fileID: 2044803817} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: Icn_Stairway_4 + value: + objectReference: {fileID: 2043937649} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: luxianSureText + value: + objectReference: {fileID: 1359140487} + - target: {fileID: 1100707199, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AllowSwitchOff + value: 1 + objectReference: {fileID: 0} - target: {fileID: 948396698034575733, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -34240,6 +34724,14 @@ PrefabInstance: propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} + - target: {fileID: 1986279547938014319, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_Text + value: "3\u53F7\u697C\u68AF\u8DEF" + objectReference: {fileID: 0} + - target: {fileID: 1986279548015271226, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_Text + value: "4\u53F7\u697C\u68AF\u8DEF\u697C\u68AF\u8DEF" + objectReference: {fileID: 0} - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -34260,6 +34752,10 @@ PrefabInstance: propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} + - target: {fileID: 1986279548677716648, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_Text + value: "2\u53F7\u697C\u68AF\u8DEF" + objectReference: {fileID: 0} - target: {fileID: 1986279548795827112, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive value: 0 @@ -34286,7 +34782,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1986279549150508378, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549173157410, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_Enabled @@ -34394,7 +34890,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1986279549173157415, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1986279549232645831, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive @@ -34412,6 +34908,10 @@ PrefabInstance: propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} + - target: {fileID: 3550673230300648422, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5824380172705816005, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y value: 1 @@ -34460,13 +34960,21 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: -245 objectReference: {fileID: 0} + - target: {fileID: 6187326699852508386, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6187326699852508396, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_Interactable + value: 1 + objectReference: {fileID: 0} - target: {fileID: 6389238419783627009, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - target: {fileID: 6852673806710748770, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8231224075310808718, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive diff --git a/xiaofang/Assets/Script/JSONReader/JSONReader.cs b/xiaofang/Assets/Script/JSONReader/JSONReader.cs index 0b70af7e..1f5248a5 100644 --- a/xiaofang/Assets/Script/JSONReader/JSONReader.cs +++ b/xiaofang/Assets/Script/JSONReader/JSONReader.cs @@ -468,6 +468,19 @@ public class JSONReader : MonoBehaviour return null; } } + public string GetNPCdian(string id) + { + Select info = null; + if (ZZSelectsDictionary.TryGetValue(id.ToString(), out info)) + { + return info.Route; + } + else + { + Debug.Log($"No Select found with ID: {id}"); + return null; + } + } } // 帮助类,用于解析 JSON 数组 diff --git a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs index e05608cd..bd6f107b 100644 --- a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs +++ b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; +using System.Xml.Linq; using Unity.VisualScripting; using UnityEngine; using UnityEngine.UI; @@ -17,6 +18,7 @@ public class ZZUIManager : MonoBehaviour ///// 点击可以弹出右边框 ///// //public GameObject Right_Box; + public GameObject Commend1; /// /// 总指挥框 /// @@ -83,6 +85,7 @@ public class ZZUIManager : MonoBehaviour public Button Icn_Stairway_1; public Button Icn_Stairway_2; public Button Icn_Stairway_3; + public Button Icn_Stairway_4; /// /// 疏散顺序 /// @@ -325,9 +328,12 @@ public class ZZUIManager : MonoBehaviour #endregion //记录 int num = 0; - // public Image bg; + // public Image bg; - public bool isFrist=false; + public bool isFrist = false; + + public Button luxianSure; + public Text luxianSureText; #region 疏散情况班级排序 public GridLayoutGroup gridLayoutGroup; @@ -336,6 +342,11 @@ public class ZZUIManager : MonoBehaviour public static ZZUIManager instert; + public bool isluxian = false; + public static int louhao;//判断记号楼 + public string TempNPC; + public List NPCdian; + public int ID = 0; public void Awake() { isHidden = true; @@ -347,11 +358,12 @@ public class ZZUIManager : MonoBehaviour { //测试 - Frist(); + //Frist(); //FixWarn(1,jsonReader.SetUIText(50102)); //string str = jsonReader.SetUIText(50102); //Debug.Log(jsonReader.SetUIText(50102)); //Debug.Log(str); + // GcreationSelect(1000); InitializeFlee(10813); @@ -361,11 +373,36 @@ public class ZZUIManager : MonoBehaviour showPositionX = 1.159973f; panelAMoveDistance = 382f; - // //传呼机 - // Intercom.onClick.AddListener(() => - //{ + #region 拉依托 + //偷懒 拉一坨给HYL geigei + Icn_Stairway_1.onClick.AddListener(() => + { + louhao = 2; + luxianSureText.color = new Color(255, 255, 255); + }); + Icn_Stairway_2.onClick.AddListener(() => + { + louhao = 3; + luxianSureText.color = new Color(255, 255, 255); + }); + Icn_Stairway_3.onClick.AddListener(() => + { + louhao = 4; + luxianSureText.color = new Color(255, 255, 255); + }); + Icn_Stairway_4.onClick.AddListener(() => + { + louhao = 5; + luxianSureText.color = new Color(255, 255, 255); + }); + #endregion - //}); + + // //传呼机 + // Intercom.onClick.AddListener(() => + //{ + + //}); //右边框框弹出来 //Right_BoxButton.onClick.AddListener(() => //{ @@ -394,6 +431,24 @@ public class ZZUIManager : MonoBehaviour if (Warn_Tip.activeSelf && (Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1) || Input.GetMouseButtonDown(2))) { Warn_Tip.SetActive(false); + + //// + //foreach (var npcDict in NPCController.instance.npcsList) + //{ + // foreach (var kvp in npcDict) + // { + // RecuseNpc npc = kvp.Key; // 获取 NPC 脚本(键) + // Vector3 position = kvp.Value; // 获取 NPC 的位置(值) + + // //if (npcData.UserId == npc.npcId) + // //{ + // // npc.SetNpcDes(v); + // // Debug.Log($"NPCID{npcData.UserId}NPCPOSITION{v}"); + // //} + + + // } + //} } //人物的加减 @@ -453,6 +508,11 @@ public class ZZUIManager : MonoBehaviour //撤离方案确定 DialogboxSure.onClick.AddListener(() => { + SplitData(TempNPC); + for(int i=0;i + { + isluxian = true; + Commend1.SetActive(false); + }); #region 数字动效 Number(NO_Student); @@ -501,9 +566,22 @@ public class ZZUIManager : MonoBehaviour } private void Update() { - + if (isluxian) + { + isluxian = false; + StartCoroutine(WaitOneSecondCoroutine()); + } } + + /// + /// 一个简单的协程,等待xxxxxxxxx秒后执行代码 + /// + private IEnumerator WaitOneSecondCoroutine() + { + yield return new WaitForSeconds(1.4f); + WarnPanel(); + } /// /// 字体动效实现 /// @@ -535,7 +613,7 @@ public class ZZUIManager : MonoBehaviour /// public void Frist() { - isFrist=true; + isFrist = true; DiaLogBox2?.SetActive(true); Close1Panel.SetActive(false); @@ -632,25 +710,25 @@ public class ZZUIManager : MonoBehaviour /// 道具需要执行的 /// /// 从左->右 - public void Prop(int a) - { - switch (a) - { - case 1: - break; - case 2: - break; - case 3: - break; - case 4: - break; - case 5: - break; - case 6: - break; + //public void Prop(int a) + //{ + // switch (a) + // { + // case 1: + // break; + // case 2: + // break; + // case 3: + // break; + // case 4: + // break; + // case 5: + // break; + // case 6: + // break; - } - } + // } + //} /// /// 地图地点 /// @@ -685,34 +763,34 @@ public class ZZUIManager : MonoBehaviour /// 下拉列表执行的事件 /// /// - void DropdownValueChanged(Dropdown change) - { - int index = change.value; - switch (index) - { - case 0: - // 执行 Option 1 相关的事件 - Debug.Log("Option 1 selected"); - break; - case 1: - // 执行 Option 2 相关的事件 - Debug.Log("Option 2 selected"); - break; - case 2: - // 执行 Option 3 相关的事件 - Debug.Log("Option 3 selected"); - break; - case 3: + //void DropdownValueChanged(Dropdown change) + //{ + // int index = change.value; + // switch (index) + // { + // case 0: + // // 执行 Option 1 相关的事件 + // Debug.Log("Option 1 selected"); + // break; + // case 1: + // // 执行 Option 2 相关的事件 + // Debug.Log("Option 2 selected"); + // break; + // case 2: + // // 执行 Option 3 相关的事件 + // Debug.Log("Option 3 selected"); + // break; + // case 3: - break; - case 4: + // break; + // case 4: - break; - case 5: + // break; + // case 5: - break; - } - } + // break; + // } + //} /// /// 打开起火点面板 /// @@ -742,7 +820,7 @@ public class ZZUIManager : MonoBehaviour Text left = newItem.transform.Find("Choose_Bg/Choose_BgLeft/Left").GetComponent(); Text Right = newItem.transform.Find("Choose_Bg/Choose_BgLeft/Right").GetComponent(); left.text = jsonReader.SetUIText("20000"); - Right.text = jsonReader.SetUIText((ID+i).ToString()); + Right.text = jsonReader.SetUIText((ID + i).ToString()); Toggle toggle = newItem.gameObject.GetComponent(); Choose1 chooseScript = newItem.GetComponent(); toggle.group = toggleGroup; @@ -780,6 +858,10 @@ public class ZZUIManager : MonoBehaviour // 强制刷新布局 LayoutRebuilder.ForceRebuildLayoutImmediate(content3.GetComponent()); } + /// + /// 创建撤离方案的选项 + /// + /// public void GcreationSelect(int ID) { GameObject newItem = Instantiate(itemPrefab, content3.transform); @@ -793,7 +875,7 @@ public class ZZUIManager : MonoBehaviour // 绑定点击事件 int index = ++ToggleCount; // 保证每个 Toggle 有不同的 index - toggle.onValueChanged.AddListener((bool isOn) => OnToggleClicked(isOn, index,chooseScript)); + toggle.onValueChanged.AddListener((bool isOn) => OnToggleClicked(isOn, index, chooseScript)); createdItems.Add(newItem); // 将新创建的物体添加到列表中 RandomPos(); } @@ -837,6 +919,7 @@ public class ZZUIManager : MonoBehaviour Command02.SetActive(false); isEnd = false; StopCoroutine(Flicker()); + DiaLogBox.gameObject.SetActive(true); } else { @@ -1164,7 +1247,7 @@ public class ZZUIManager : MonoBehaviour } public void FixTitle(string str) { - str= DiaLogBoxTitle.text; + str = DiaLogBoxTitle.text; } #endregion /// @@ -1174,20 +1257,83 @@ public class ZZUIManager : MonoBehaviour /// private void OnToggleClicked(bool isOn, int index, Choose1 chooseScript) { - switch(index) + switch (index) { case 0: + NPCdian1(index); chooseScript.isShow = isOn; break; case 1: + NPCdian1(index); chooseScript.isShow = isOn; break; - case 2: + case 2: + NPCdian1(index); chooseScript.isShow = isOn; break; } } + #region 拉一坨 + public void NPCdian1(int a) + { + switch (louhao) + { + case 2: + ID = 10144; + break; + case 3: + ID = 10150; + break; + case 4: + ID = 10156; + break; + case 5: + ID = 10162; + break; + } + switch (a) + { + case 0: + TempNPC=jsonReader.GetNPCdian((ID + a).ToString()); + break; + case 1: + TempNPC=jsonReader.GetNPCdian((ID + a).ToString()); + break; + case 2: + TempNPC=jsonReader.GetNPCdian((ID + a).ToString()); + + break; + } + + } + + /// + /// 拆分字符串并存储到列表中 + /// + /// 输入字符串 + private void SplitData(string input) + { + // 按 `#` 分割,获取每组数据 + string[] groups = input.Split('#'); + + foreach (string group in groups) + { + // 按 `|` 分割每组数据 + string[] items = group.Split('|'); + + foreach (string item in items) + { + // 按 `,` 分割每个具体数据 + string[] subItems = item.Split(','); + + // 将每个数据存入列表 + NPCdian.AddRange(subItems); // 添加分割后的数据 + } + } + } + #endregion + private void Close() { DiaLogBox2?.SetActive(false);