From 1eeb4cd49b20d64176e065a175a4f0b8079799d2 Mon Sep 17 00:00:00 2001 From: LMZ <1477077658@qq.com> Date: Sun, 15 Dec 2024 17:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B2=E5=A5=BD=E5=95=A6=E5=95=A6=E5=95=A6?= =?UTF-8?q?=E5=95=A6=E5=95=A6=E5=95=A6=E5=95=A6=E5=95=A6=EF=BC=88mini?= =?UTF-8?q?=E7=89=88=E6=9C=AC=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prefabs/PanelPrefabs/Command_End.prefab | 555 ++++++++++++++++-- .../Assets/Scenes/LL_Command_Action_1.unity | 372 ++++-------- .../Assets/Script/JSONReader/JSONReader.cs | 112 +++- .../Assets/Script/UI/ZZZZZZ/ZZUIManager.cs | 138 +++-- xiaofang/Assets/UnityCommon | 2 +- 5 files changed, 816 insertions(+), 363 deletions(-) diff --git a/xiaofang/Assets/Prefabs/PanelPrefabs/Command_End.prefab b/xiaofang/Assets/Prefabs/PanelPrefabs/Command_End.prefab index a17bb02a..8a673a36 100644 --- a/xiaofang/Assets/Prefabs/PanelPrefabs/Command_End.prefab +++ b/xiaofang/Assets/Prefabs/PanelPrefabs/Command_End.prefab @@ -311,6 +311,97 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1 &570685013 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 570685014} + - component: {fileID: 570685017} + - component: {fileID: 570685016} + - component: {fileID: 570685015} + m_Layer: 5 + m_Name: Viewport + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &570685014 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570685013} + 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: 1100707197} + m_Father: {fileID: 1634927331} + 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: 53.195, y: 0} + m_SizeDelta: {x: -87.639, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!222 &570685017 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570685013} + m_CullTransparentMesh: 1 +--- !u!114 &570685016 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570685013} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &570685015 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570685013} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 0 --- !u!1 &676728424 GameObject: m_ObjectHideFlags: 0 @@ -989,6 +1080,83 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1 &1634927330 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1634927331} + - component: {fileID: 1634927334} + - component: {fileID: 1634927332} + m_Layer: 5 + m_Name: Scroll View + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1634927331 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1634927330} + 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: 570685014} + m_Father: {fileID: 1986279547906217107} + m_RootOrder: 3 + 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: 2.855, y: 0.0011978} + m_SizeDelta: {x: 1169.213, y: 426.93} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1634927334 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1634927330} + m_CullTransparentMesh: 1 +--- !u!114 &1634927332 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1634927330} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 1100707197} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 2 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 570685014} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 2 + m_VerticalScrollbarVisibility: 2 + m_HorizontalScrollbarSpacing: -3 + m_VerticalScrollbarSpacing: -3 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] --- !u!1 &1850042308 GameObject: m_ObjectHideFlags: 0 @@ -2450,7 +2618,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 0, b: 0, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 @@ -3254,7 +3422,9 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1986279549247958298} + - {fileID: 6187326699852508387} - {fileID: 1986279548098693904} + - {fileID: 1634927331} m_Father: {fileID: 1986279548675747997} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -3601,8 +3771,8 @@ RectTransform: 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: 2.6850967, y: 0.5} - m_SizeDelta: {x: 93.3702, y: 51} + m_AnchoredPosition: {x: 0.001045227, y: 0.5} + m_SizeDelta: {x: 192.19, y: 51} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1986279548042122895 CanvasRenderer: @@ -3634,11 +3804,11 @@ MonoBehaviour: m_Calls: [] m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 26 + m_FontSize: 42 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 47 + m_MinSize: 0 + m_MaxSize: 92 m_Alignment: 4 m_AlignByGeometry: 0 m_RichText: 1 @@ -4135,7 +4305,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &1986279548098693904 RectTransform: m_ObjectHideFlags: 0 @@ -4152,7 +4322,7 @@ RectTransform: - {fileID: 1986279548676266128} - {fileID: 1986279549241408532} m_Father: {fileID: 1986279547906217107} - m_RootOrder: 1 + 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} @@ -4869,7 +5039,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} m_AnchoredPosition: {x: 12, y: -1} - m_SizeDelta: {x: 447.8758, y: 119.2122} + m_SizeDelta: {x: 461.46, y: 119.212} m_Pivot: {x: 0, y: 1} --- !u!222 &1986279548242059623 CanvasRenderer: @@ -4901,7 +5071,7 @@ MonoBehaviour: m_Calls: [] m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 54 + m_FontSize: 51 m_FontStyle: 0 m_BestFit: 0 m_MinSize: 10 @@ -4912,7 +5082,7 @@ MonoBehaviour: m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: "\u64A4\u79BB\u6559\u5BA4\u7684\u65B9\u6848\u9009" + m_Text: "\u64A4\u79BB\u6559\u5BA4\u7684\u65B9\u6848\u9009\u62E9" --- !u!1 &1986279548263986742 GameObject: m_ObjectHideFlags: 0 @@ -5099,9 +5269,9 @@ RectTransform: m_Father: {fileID: 1986279548098693904} 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 50, y: -50} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1986279548304181854 @@ -5462,9 +5632,9 @@ RectTransform: m_Father: {fileID: 1986279548025449545} m_RootOrder: 1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 237.4, y: 15.5} m_SizeDelta: {x: 222, y: 272} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1986279548425159739 @@ -6139,11 +6309,11 @@ MonoBehaviour: m_Calls: [] m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 32 + m_FontSize: 46 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 56 + m_MinSize: 3 + m_MaxSize: 62 m_Alignment: 4 m_AlignByGeometry: 0 m_RichText: 1 @@ -6485,7 +6655,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &1986279548675747997 RectTransform: m_ObjectHideFlags: 0 @@ -6544,9 +6714,9 @@ RectTransform: m_Father: {fileID: 1986279548098693904} m_RootOrder: 1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 50, y: -177.33334} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1986279548676266129 @@ -8120,9 +8290,9 @@ RectTransform: m_Father: {fileID: 1986279548025449545} 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: -137.4, y: 15.5} m_SizeDelta: {x: 222, y: 272} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1986279549002270258 @@ -8935,7 +9105,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &1986279549150508379 RectTransform: m_ObjectHideFlags: 0 @@ -9330,9 +9500,6 @@ MonoBehaviour: Prop4: {fileID: 1986279547455856480} Prop5: {fileID: 1986279547737595684} Prop6: {fileID: 1986279547438651113} - DialogboxA: {fileID: 1986279548304181854} - DialogboxB: {fileID: 1986279548676266129} - DialogboxC: {fileID: 1986279549241408533} DialogboxSure: {fileID: 1986279548770340787} Dialogbox2A: {fileID: 1986279549002270256} Dialogbox2B: {fileID: 1986279548425159737} @@ -9345,6 +9512,8 @@ MonoBehaviour: Right_BoxButton: {fileID: 1986279549238718677} Close1: {fileID: 1986279548665939568} Close2: {fileID: 1986279548236674887} + Close1Panel: {fileID: 1986279548236674885} + FreePanel: {fileID: 1986279549150508378} icn_stairway_text_1: {fileID: 1986279548677716648} icn_stairway_text_2: {fileID: 1986279547938014319} icn_stairway_text_3: {fileID: 1986279548015271226} @@ -9354,16 +9523,12 @@ MonoBehaviour: Tip_4: {fileID: 1553443887} Head_Text: {fileID: 1986279549318208223} WarnTip_Text: {fileID: 1986279549027945289} - Situation_Tip_1: {fileID: 0} - Situation_Tip_2: {fileID: 0} - Situation_Tip_3: {fileID: 0} - Situation_Tip_4: {fileID: 0} - LeftText1: {fileID: 1986279547805966008} - LeftText2: {fileID: 1986279547592309254} - LeftText3: {fileID: 1986279548468079543} + Situation_Tip_1: {fileID: 8544101838369953974} + Situation_Tip_2: {fileID: 8618474577547420634} + Situation_Tip_3: {fileID: 5824380172705816002} + Situation_Tip_4: {fileID: 6164110187781327643} + LeftText1: {fileID: 0} RightText1: {fileID: 1986279547703201636} - RightText2: {fileID: 1986279547692988195} - RightText3: {fileID: 1986279549342845701} LeftLT_Text1: {fileID: 1986279548062755407} RightLT_Text1: {fileID: 1986279549083527464} LeftLT_Text2: {fileID: 1986279549557071729} @@ -9387,6 +9552,8 @@ MonoBehaviour: WartipText: {fileID: 1986279548813826758} MessageText: {fileID: 1986279547682037534} MessageText2: {fileID: 1986279548444664471} + Area: {fileID: 1986279547449863667} + NPCName: {fileID: 1986279548891763003} fadeInDuration: 1 fadeOutDuration: 1 displayDuration: 2 @@ -9394,6 +9561,14 @@ MonoBehaviour: HeadImage: {fileID: 1986279548676433021} Bg: {fileID: 1986279549323494987} Bg1: {fileID: 1986279548268462364} + jsonReader: {fileID: 0} + content3: {fileID: 1100707196} + gridLayoutGroup2: {fileID: 1100707198} + itemPrefab: {fileID: 5642274089642939527, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + toggleGroup: {fileID: 0} + itemPrefabTextLeft: {fileID: 6187326700225714706} + itemPrefabTextRight: {fileID: 6187326701567016294} + itemCount: 12 panelA: {fileID: 1986279549107877076} panelAMoveDistance: 0 moveDuration: 0.5 @@ -9402,7 +9577,7 @@ MonoBehaviour: showPositionX: 0 hidePositionX: 0 bg: {fileID: 1986279548673143752} - gridLayoutGroup: {fileID: 0} + gridLayoutGroup: {fileID: 3221337158919056189} instert: {fileID: 0} --- !u!1 &1986279549197966134 GameObject: @@ -9679,9 +9854,9 @@ RectTransform: m_Father: {fileID: 1986279548098693904} m_RootOrder: 2 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 50, y: -304.6667} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1986279549241408533 @@ -12368,6 +12543,252 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 121218705949371349, guid: a95bf12ea7cc94f498bdc8967b2f90ac, type: 3} m_PrefabInstance: {fileID: 1986279548700035834} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1986279549346871397 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1986279547906217107} + m_Modifications: + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_SizeDelta.x + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_SizeDelta.y + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchoredPosition.x + value: 73.67771 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_AnchoredPosition.y + value: -49.998333 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939527, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_Name + value: Choose_1 + objectReference: {fileID: 0} + - target: {fileID: 5642274089642939527, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} +--- !u!224 &6187326699852508387 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 5642274089642939526, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + m_PrefabInstance: {fileID: 1986279549346871397} + m_PrefabAsset: {fileID: 0} +--- !u!114 &6187326700225714706 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 5642274089521324663, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + m_PrefabInstance: {fileID: 1986279549346871397} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &6187326701567016294 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 5642274088178255107, guid: 9121e9998ce2e2c4fb34d50a3d9953d3, type: 3} + m_PrefabInstance: {fileID: 1986279549346871397} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1001 &3933018037357758903 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 570685014} + m_Modifications: + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_Pivot.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_SizeDelta.x + value: 21.578 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_SizeDelta.y + value: 1938.403 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3933018038406921419, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + propertyPath: m_Name + value: Middle_Tip + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} +--- !u!1 &1100707196 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 3933018038406921419, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + m_PrefabInstance: {fileID: 3933018037357758903} + m_PrefabAsset: {fileID: 0} +--- !u!224 &1100707197 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 3933018038406921418, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + m_PrefabInstance: {fileID: 3933018037357758903} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1100707198 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 3933018038406921417, guid: 7e6415f37b36c13419e8e39ba7a6164a, type: 3} + m_PrefabInstance: {fileID: 3933018037357758903} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1100707196} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &4614685797598051619 PrefabInstance: m_ObjectHideFlags: 0 @@ -12469,6 +12890,17 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} +--- !u!114 &8618474577547420634 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4003788853082971897, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} + m_PrefabInstance: {fileID: 4614685797598051619} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!224 &8618474577547420637 stripped RectTransform: m_CorrespondingSourceObject: {fileID: 4003788853082971902, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} @@ -12576,6 +13008,17 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 4003788853082971902, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} m_PrefabInstance: {fileID: 4684570332724479567} m_PrefabAsset: {fileID: 0} +--- !u!114 &8544101838369953974 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4003788853082971897, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} + m_PrefabInstance: {fileID: 4684570332724479567} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &5097649312431883682 PrefabInstance: m_ObjectHideFlags: 0 @@ -12698,7 +13141,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 4003788853082971897, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} propertyPath: m_Text - value: "1-2\u73ED\u7EA7" + value: "1-2\u73ED\u5DF2\u7ECF\u5F00\u59CB\u758F\u6563" objectReference: {fileID: 0} - target: {fileID: 4003788853082971902, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} propertyPath: m_Pivot.x @@ -12790,6 +13233,17 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} +--- !u!114 &6164110187781327643 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4003788853082971897, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} + m_PrefabInstance: {fileID: 7069245350669669858} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!224 &6164110187781327644 stripped RectTransform: m_CorrespondingSourceObject: {fileID: 4003788853082971902, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} @@ -12896,6 +13350,17 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} +--- !u!114 &5824380172705816002 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4003788853082971897, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} + m_PrefabInstance: {fileID: 7441083856479355707} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!224 &5824380172705816005 stripped RectTransform: m_CorrespondingSourceObject: {fileID: 4003788853082971902, guid: a0ad13d6a7cc08a488ec912e2ed7f47d, type: 3} diff --git a/xiaofang/Assets/Scenes/LL_Command_Action_1.unity b/xiaofang/Assets/Scenes/LL_Command_Action_1.unity index 73d25a30..5e7b96bf 100644 --- a/xiaofang/Assets/Scenes/LL_Command_Action_1.unity +++ b/xiaofang/Assets/Scenes/LL_Command_Action_1.unity @@ -122,17 +122,62 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!114 &198436690 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 1986279548891763003, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} +--- !u!1 &86517373 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 86517375} + - component: {fileID: 86517374} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &86517374 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 86517373} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Script: {fileID: 11500000, guid: 13fa0701c49727a4c84282a40243e52d, type: 3} m_Name: m_EditorClassIdentifier: + npcJsonFile: {fileID: 4900000, guid: a854e20393334f04a8fc75e06404fe4f, type: 3} + locationJsonFile: {fileID: 4900000, guid: 4d6cd655327e27c4b88c2033169c8fed, type: 3} + eventJsonFile: {fileID: 4900000, guid: 2ef075e4830019a42b84d8d05d13d81c, type: 3} + matialJsonFile: {fileID: 4900000, guid: d98cb351d1a87dc4887a37106b9745d4, type: 3} + sceneJsonFile: {fileID: 4900000, guid: 06c09fd1c8b0a0a45951a1065189d922, type: 3} + incidentSiteJosnFile: {fileID: 4900000, guid: 1efa4372b10d4294199638c49173ff4c, type: 3} + NPCJosnFile: {fileID: 4900000, guid: 41009f009f0718647a782c7e1aec97dd, type: 3} + LanguageJsonFile: {fileID: 4900000, guid: 62a41129c4663ee41a06274114d28feb, type: 3} + SelectJsonFile: {fileID: 4900000, guid: 3efd15f4195557144a45659d2baa1ba3, type: 3} + TaskJsonFile: {fileID: 4900000, guid: 4dec25769ed4ed3469693b1c881248af, type: 3} + GlobalJsonFile: {fileID: 4900000, guid: bf2e45c406f6ef149804c6e3158da17c, type: 3} + SelectsJsonFile: {fileID: 4900000, guid: 3efd15f4195557144a45659d2baa1ba3, type: 3} +--- !u!4 &86517375 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 86517373} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 360.4609, y: 215.89246, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &298877719 GameObject: m_ObjectHideFlags: 0 @@ -201,31 +246,15 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &451300333 stripped +--- !u!114 &330485451 stripped MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 8618474577547420634, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_CorrespondingSourceObject: {fileID: 1100707199, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} m_PrefabInstance: {fileID: 1986279549016710772} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!1 &454864855 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1986279549150508378, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} ---- !u!114 &852064453 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 8544101838369953974, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Script: {fileID: 11500000, guid: 2fafe2cfe61f6974895a912c3755e8f1, type: 3} m_Name: m_EditorClassIdentifier: --- !u!1 &1229671918 @@ -322,50 +351,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!114 &1379236078 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 6164110187781327643, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!114 &1388304172 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 1986279547449863667, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!114 &1614637142 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 3221337158919056189, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!114 &1897341921 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 5824380172705816002, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: --- !u!1 &2053376435 GameObject: m_ObjectHideFlags: 0 @@ -450,11 +435,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &2138670361 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1986279548236674885, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - m_PrefabInstance: {fileID: 1986279549016710772} - m_PrefabAsset: {fileID: 0} --- !u!1001 &1986279549016710772 PrefabInstance: m_ObjectHideFlags: 0 @@ -486,42 +466,26 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 676728424, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Area - value: - objectReference: {fileID: 1388304172} + propertyPath: itemCount + value: 4 + objectReference: {fileID: 0} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: NPCName + propertyPath: jsonReader value: - objectReference: {fileID: 198436690} + objectReference: {fileID: 86517374} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: FreePanel + propertyPath: toggleGroup value: - objectReference: {fileID: 454864855} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Close1Panel - value: - objectReference: {fileID: 2138670361} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Situation_Tip_1 - value: - objectReference: {fileID: 852064453} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Situation_Tip_2 - value: - objectReference: {fileID: 451300333} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Situation_Tip_3 - value: - objectReference: {fileID: 1897341921} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: Situation_Tip_4 - value: - objectReference: {fileID: 1379236078} - - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: gridLayoutGroup - value: - objectReference: {fileID: 1614637142} + objectReference: {fileID: 330485451} + - target: {fileID: 1100707197, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_SizeDelta.y + value: 623.365 + objectReference: {fileID: 0} - target: {fileID: 1605163136, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -690,138 +654,40 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279547699551740, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_Color.b - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1986279547699551740, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_Color.g - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1986279547699551740, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_Color.r - value: 1 - objectReference: {fileID: 0} - target: {fileID: 1986279547715622013, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279548042122893, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_SizeDelta.x - value: 192.19 - objectReference: {fileID: 0} - - target: {fileID: 1986279548042122893, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0.001045227 - objectReference: {fileID: 0} - - target: {fileID: 1986279548042122894, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_Text - value: '0 - -' - objectReference: {fileID: 0} - - target: {fileID: 1986279548042122894, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_MaxSize - value: 92 - objectReference: {fileID: 0} - - target: {fileID: 1986279548042122894, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_MinSize + - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AnchorMax.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279548042122894, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_FontSize - value: 42 - objectReference: {fileID: 0} - - target: {fileID: 1986279548304181853, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279548304181853, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279548304181853, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.x - value: 50 - objectReference: {fileID: 0} - - target: {fileID: 1986279548304181853, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.y - value: -50 - objectReference: {fileID: 0} - - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.x - value: 237.4 - objectReference: {fileID: 0} - - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.y - value: 15.5 - objectReference: {fileID: 0} - - target: {fileID: 1986279548664679642, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_MaxSize - value: 62 - objectReference: {fileID: 0} - - target: {fileID: 1986279548664679642, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_MinSize - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 1986279548664679642, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_FontData.m_FontSize - value: 46 - objectReference: {fileID: 0} - - target: {fileID: 1986279548675747996, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279548676266128, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279548676266128, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279548676266128, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279548676266128, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + - target: {fileID: 1986279548425159736, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchoredPosition.y - value: -177.33334 - objectReference: {fileID: 0} - - target: {fileID: 1986279548795827112, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549002270263, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549002270263, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549002270263, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchoredPosition.x - value: -137.4 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549002270263, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchoredPosition.y - value: 15.5 - objectReference: {fileID: 0} - - target: {fileID: 1986279549107877099, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279549150508378, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - target: {fileID: 1986279549173157411, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} @@ -912,34 +778,10 @@ PrefabInstance: propertyPath: m_Name value: Command_End objectReference: {fileID: 0} - - target: {fileID: 1986279549173157415, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279549232645831, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + - target: {fileID: 2991637681471873777, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - - target: {fileID: 1986279549238718699, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279549241408532, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279549241408532, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1986279549241408532, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.x - value: 50 - objectReference: {fileID: 0} - - target: {fileID: 1986279549241408532, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.y - value: -304.6667 - objectReference: {fileID: 0} - target: {fileID: 5824380172705816005, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -964,32 +806,44 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 6164110187781327643, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6187326699852508386, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6187326700225714706, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_Text - value: "1-2\u73ED\u5DF2\u7ECF\u5F00\u59CB\u758F\u6563" + value: "\u758F\u6563\u8DEF\u7EBF\u9009\u7740" objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMax.y - value: 0 + - target: {fileID: 6187326700225714706, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_FontData.m_FontSize + value: 43 objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6164110187781327644, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} - propertyPath: m_AnchoredPosition.y + - target: {fileID: 6852673806710748770, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - target: {fileID: 8544101838369953969, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} diff --git a/xiaofang/Assets/Script/JSONReader/JSONReader.cs b/xiaofang/Assets/Script/JSONReader/JSONReader.cs index f596c133..473ae54e 100644 --- a/xiaofang/Assets/Script/JSONReader/JSONReader.cs +++ b/xiaofang/Assets/Script/JSONReader/JSONReader.cs @@ -16,6 +16,8 @@ public class JSONReader : MonoBehaviour public TextAsset LanguageJsonFile; public TextAsset SelectJsonFile; public TextAsset TaskJsonFile; + public TextAsset GlobalJsonFile; + public TextAsset SelectsJsonFile; public Dictionary npcDictionary = new Dictionary(); public Dictionary locationDictionary = new Dictionary(); public Dictionary eventDictionary = new Dictionary(); @@ -26,6 +28,8 @@ public class JSONReader : MonoBehaviour public Dictionary LanguageDictionary = new Dictionary(); public Dictionary SelectDictionary = new Dictionary(); public Dictionary TaskDictionary = new Dictionary(); + public Dictionary GlobalDictionary= new Dictionary(); + public Dictionary SelectsDictionary= new Dictionary(); void Awake() { @@ -41,6 +45,8 @@ public class JSONReader : MonoBehaviour SelectDictionary = SelectJSON(SelectJsonFile.text); TaskDictionary = TaskJSON(TaskJsonFile.text); + GlobalDictionary=GlobelJSON(GlobalJsonFile.text); + SelectsDictionary = SelectsJSON(SelectsJsonFile.text); GetLanguageByID(20008); foreach (var npc in npcDictionary) @@ -185,6 +191,31 @@ public class JSONReader : MonoBehaviour return locationDictionary; } + public Dictionary GlobelJSON(string json) + { + GlobalJson[] locationArray = JsonHelper.FromJson(json); + Dictionary locationDictionary = new Dictionary(); + + foreach (var location in locationArray) + { + locationDictionary[location.ID] = location; + } + + return locationDictionary; + } + public Dictionary SelectsJSON(string json) + { + Select[] locationArray = JsonHelper.FromJson