From 9a92c1c59d0506ba314cf02ca31b94f3966a9950 Mon Sep 17 00:00:00 2001 From: LMZ <1477077658@qq.com> Date: Thu, 26 Dec 2024 02:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E7=8F=AD=E5=92=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Prefabs/UI/MainPanel.prefab | 1984 ++++------------- Assets/Resources/2DZZZ/UI/123.png | Bin 0 -> 1656 bytes Assets/Resources/2DZZZ/UI/123.png.meta | 127 ++ Assets/Resources/2DZZZ/矩形 280@1x.png | Bin 0 -> 941 bytes Assets/Resources/2DZZZ/矩形 280@1x.png.meta | 127 ++ Assets/SampleScene.unity | 668 ++++++ Assets/SampleScene.unity.meta | 7 + Assets/Scenes/LoadScene.unity | 1726 ++++++-------- Assets/Scenes/Test 1.unity | 1066 +++++++++ Assets/Scenes/Test 1.unity.meta | 7 + Assets/Scenes/Test.unity | 126 +- Assets/Scripts/UI/MainPanel.cs | 16 +- Assets/Scripts/ZZZZ/CoordinateAndDrag.cs | 73 + Assets/Scripts/ZZZZ/CoordinateAndDrag.cs.meta | 11 + Assets/Scripts/ZZZZ/Count.cs | 71 + Assets/Scripts/ZZZZ/Count.cs.meta | 11 + Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs | 153 ++ Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs.meta | 11 + Assets/Scripts/ZZZZ/DynamicItemManager.cs | 240 ++ .../Scripts/ZZZZ/DynamicItemManager.cs.meta | 11 + Assets/Scripts/ZZZZ/GridSystem.cs | 60 + Assets/Scripts/ZZZZ/GridSystem.cs.meta | 11 + Assets/Scripts/ZZZZ/ScriptableObject.meta | 8 + .../ZZZZ/ScriptableObject/BuildItem.meta | 8 + .../ScriptableObject/BuildItem/Bank.prefab | 212 ++ .../BuildItem/Bank.prefab.meta | 7 + .../ScriptableObject/BuildItem/Farm.prefab | 194 ++ .../BuildItem/Farm.prefab.meta | 7 + .../ScriptableObject/BuildItem/Plant.prefab | 194 ++ .../BuildItem/Plant.prefab.meta | 7 + .../ScriptableObject/BuildItem/Plant2.prefab | 194 ++ .../BuildItem/Plant2.prefab.meta | 7 + .../ScriptableObject/BuildItem/Science.prefab | 194 ++ .../BuildItem/Science.prefab.meta | 7 + .../ScriptableObject/BuildItem/Villa.prefab | 194 ++ .../BuildItem/Villa.prefab.meta | 7 + .../BuildItem/Warehouse .prefab | 194 ++ .../BuildItem/Warehouse .prefab.meta | 7 + Assets/Scripts/ZZZZ/TargetIndicator.cs | 117 + Assets/Scripts/ZZZZ/TargetIndicator.cs.meta | 11 + Assets/Scripts/ZZZZ/ZZZUIMangager.cs | 1 - 41 files changed, 5527 insertions(+), 2549 deletions(-) create mode 100644 Assets/Resources/2DZZZ/UI/123.png create mode 100644 Assets/Resources/2DZZZ/UI/123.png.meta create mode 100644 Assets/Resources/2DZZZ/矩形 280@1x.png create mode 100644 Assets/Resources/2DZZZ/矩形 280@1x.png.meta create mode 100644 Assets/SampleScene.unity create mode 100644 Assets/SampleScene.unity.meta create mode 100644 Assets/Scenes/Test 1.unity create mode 100644 Assets/Scenes/Test 1.unity.meta create mode 100644 Assets/Scripts/ZZZZ/CoordinateAndDrag.cs create mode 100644 Assets/Scripts/ZZZZ/CoordinateAndDrag.cs.meta create mode 100644 Assets/Scripts/ZZZZ/Count.cs create mode 100644 Assets/Scripts/ZZZZ/Count.cs.meta create mode 100644 Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs create mode 100644 Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs.meta create mode 100644 Assets/Scripts/ZZZZ/DynamicItemManager.cs create mode 100644 Assets/Scripts/ZZZZ/DynamicItemManager.cs.meta create mode 100644 Assets/Scripts/ZZZZ/GridSystem.cs create mode 100644 Assets/Scripts/ZZZZ/GridSystem.cs.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Bank.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Bank.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Farm.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Farm.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Plant.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Plant.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Plant2.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Plant2.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Science.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Science.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Villa.prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Villa.prefab.meta create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Warehouse .prefab create mode 100644 Assets/Scripts/ZZZZ/ScriptableObject/BuildItem/Warehouse .prefab.meta create mode 100644 Assets/Scripts/ZZZZ/TargetIndicator.cs create mode 100644 Assets/Scripts/ZZZZ/TargetIndicator.cs.meta diff --git a/Assets/Prefabs/UI/MainPanel.prefab b/Assets/Prefabs/UI/MainPanel.prefab index f8611eb..505cecf 100644 --- a/Assets/Prefabs/UI/MainPanel.prefab +++ b/Assets/Prefabs/UI/MainPanel.prefab @@ -36,7 +36,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: -185, y: 0.6499634} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 64, y: 36} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3959046094937916267 CanvasRenderer: @@ -172,96 +172,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &237087481491486360 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8607695736855938884} - - component: {fileID: 1766615610219309879} - - component: {fileID: 5729665977860974858} - - component: {fileID: 3893871011510405992} - m_Layer: 5 - m_Name: Image (9) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8607695736855938884 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 237087481491486360} - 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: 1471851921932195816} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1766615610219309879 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 237087481491486360} - m_CullTransparentMesh: 1 ---- !u!114 &5729665977860974858 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 237087481491486360} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3893871011510405992 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 237087481491486360} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &322495454301949060 GameObject: m_ObjectHideFlags: 0 @@ -659,7 +569,18 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 07ab6ce933eb5564899bd8e4361a2442, type: 3} m_Name: m_EditorClassIdentifier: + BTntimer: 500 btnBulidingHouse: {fileID: 5546646798525790972} + btnstoreroom: {fileID: 7581742419640762143} + btnEchange: {fileID: 929866691213738093} + btnmail: {fileID: 7870003035999395566} + world: {fileID: 6474869662614728614} + Ally: {fileID: 7938794407961249099} + team: {fileID: 6117641343361337542} + Private: {fileID: 1364651881241272751} + FriendButton: {fileID: 5467252477818923074} + SettingButton: {fileID: 5694757881188642192} + SendButton: {fileID: 4189593402190958458} --- !u!1 &877119709588500382 GameObject: m_ObjectHideFlags: 0 @@ -746,6 +667,7 @@ GameObject: - component: {fileID: 266248845127578978} - component: {fileID: 2033328503649433280} - component: {fileID: 5742476485532428161} + - component: {fileID: 5694757881188642192} m_Layer: 5 m_Name: Image (5) m_TagString: Untagged @@ -810,6 +732,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5694757881188642192 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 881993420502106925} + 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: 5742476485532428161} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &924377978342408242 GameObject: m_ObjectHideFlags: 0 @@ -982,81 +948,6 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalFit: 2 m_VerticalFit: 2 ---- !u!1 &1136791573211271542 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 810219597146953199} - - component: {fileID: 8390958444859957798} - - component: {fileID: 7954719909685758418} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &810219597146953199 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1136791573211271542} - 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: 2736261071585524047} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8390958444859957798 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1136791573211271542} - m_CullTransparentMesh: 1 ---- !u!114 &7954719909685758418 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1136791573211271542} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &1507000662024001010 GameObject: m_ObjectHideFlags: 0 @@ -1151,81 +1042,6 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalFit: 2 m_VerticalFit: 2 ---- !u!1 &1549457439700953984 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4029864586416218014} - - component: {fileID: 7884128827852362083} - - component: {fileID: 8327672977865726128} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4029864586416218014 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1549457439700953984} - 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: 2202618419509661009} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7884128827852362083 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1549457439700953984} - m_CullTransparentMesh: 1 ---- !u!114 &8327672977865726128 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1549457439700953984} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &1592844008974013320 GameObject: m_ObjectHideFlags: 0 @@ -1237,6 +1053,7 @@ GameObject: - component: {fileID: 6291222969114974598} - component: {fileID: 388015069325991825} - component: {fileID: 8506690500901179102} + - component: {fileID: 7581742419640762143} m_Layer: 5 m_Name: Image (3) m_TagString: Untagged @@ -1302,6 +1119,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7581742419640762143 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1592844008974013320} + 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: 8506690500901179102} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &1650843531558420057 GameObject: m_ObjectHideFlags: 0 @@ -1560,6 +1421,7 @@ GameObject: - component: {fileID: 4510603069684260167} - component: {fileID: 536993143241040432} - component: {fileID: 6079343036386950817} + - component: {fileID: 6474869662614728614} m_Layer: 5 m_Name: Image m_TagString: Untagged @@ -1625,6 +1487,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6474869662614728614 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1800459440402032757} + 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: 6079343036386950817} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &1928988597050692352 GameObject: m_ObjectHideFlags: 0 @@ -1636,6 +1542,7 @@ GameObject: - component: {fileID: 6762877469335165811} - component: {fileID: 1217829633081650390} - component: {fileID: 6709435685782929510} + - component: {fileID: 1364651881241272751} m_Layer: 5 m_Name: Image (3) m_TagString: Untagged @@ -1701,6 +1608,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &1364651881241272751 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1928988597050692352} + 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: 6709435685782929510} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &1954498996585999678 GameObject: m_ObjectHideFlags: 0 @@ -1767,7 +1718,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -2194,7 +2145,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -2363,7 +2314,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -2535,6 +2486,7 @@ GameObject: - component: {fileID: 77804132369055906} - component: {fileID: 4755923634720713263} - component: {fileID: 2921735455974538249} + - component: {fileID: 5467252477818923074} m_Layer: 5 m_Name: Image m_TagString: Untagged @@ -2599,6 +2551,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5467252477818923074 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2605955465838279898} + 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: 2921735455974538249} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &2662336569662978476 GameObject: m_ObjectHideFlags: 0 @@ -2665,7 +2661,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -2757,96 +2753,6 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: "\u8BF7\u8F93\u5165" ---- !u!1 &2865298901062482389 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1776990847393911056} - - component: {fileID: 9169739460364226712} - - component: {fileID: 6954334448741523204} - - component: {fileID: 1629807140357918254} - m_Layer: 5 - m_Name: Image (4) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1776990847393911056 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2865298901062482389} - 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: 8543208324726271732} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9169739460364226712 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2865298901062482389} - m_CullTransparentMesh: 1 ---- !u!114 &6954334448741523204 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2865298901062482389} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1629807140357918254 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2865298901062482389} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &2887014516293939182 GameObject: m_ObjectHideFlags: 0 @@ -3167,7 +3073,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 32 m_FontStyle: 0 m_BestFit: 0 @@ -3570,186 +3476,6 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalFit: 2 m_VerticalFit: 2 ---- !u!1 &3335979059986962339 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2736261071585524047} - - component: {fileID: 8112152694913966427} - - component: {fileID: 878576988061948437} - - component: {fileID: 8122640874746778722} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2736261071585524047 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3335979059986962339} - 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: 810219597146953199} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8112152694913966427 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3335979059986962339} - m_CullTransparentMesh: 1 ---- !u!114 &878576988061948437 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3335979059986962339} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8122640874746778722 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3335979059986962339} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 3242545039153700138, guid: 72e6489f3ff86426ab352983c2614403, type: 3} ---- !u!1 &3382887877697398701 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 324141200704919379} - - component: {fileID: 6354292987099181801} - - component: {fileID: 6804825446162330465} - - component: {fileID: 4203013512777399580} - m_Layer: 5 - m_Name: Image (7) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &324141200704919379 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3382887877697398701} - 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: 112450603649120138} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6354292987099181801 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3382887877697398701} - m_CullTransparentMesh: 1 ---- !u!114 &6804825446162330465 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3382887877697398701} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4203013512777399580 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3382887877697398701} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &3541344432639110995 GameObject: m_ObjectHideFlags: 0 @@ -4187,6 +3913,7 @@ GameObject: - component: {fileID: 8484113701672889904} - component: {fileID: 2328594420019972871} - component: {fileID: 547731190410354032} + - component: {fileID: 6117641343361337542} m_Layer: 5 m_Name: Image (2) m_TagString: Untagged @@ -4252,6 +3979,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6117641343361337542 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3948847535443682207} + 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: 547731190410354032} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &4013630863890067266 GameObject: m_ObjectHideFlags: 0 @@ -4327,81 +4098,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4100830057173804122 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3555202957293429006} - - component: {fileID: 3270863732432794878} - - component: {fileID: 2701115426626626395} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3555202957293429006 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4100830057173804122} - 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: 731629808222151515} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3270863732432794878 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4100830057173804122} - m_CullTransparentMesh: 1 ---- !u!114 &2701115426626626395 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4100830057173804122} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &4107720540913715387 GameObject: m_ObjectHideFlags: 0 @@ -4548,7 +4244,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 32 m_FontStyle: 0 m_BestFit: 0 @@ -4642,7 +4338,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -4745,81 +4441,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4319136682963425952 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1471851921932195816} - - component: {fileID: 7408312385799515006} - - component: {fileID: 5812227713016324709} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1471851921932195816 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4319136682963425952} - 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: 8607695736855938884} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7408312385799515006 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4319136682963425952} - m_CullTransparentMesh: 1 ---- !u!114 &5812227713016324709 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4319136682963425952} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &4354731379849768357 GameObject: m_ObjectHideFlags: 0 @@ -4831,6 +4452,7 @@ GameObject: - component: {fileID: 6446940639591552061} - component: {fileID: 8259927253231108070} - component: {fileID: 9194938270410935249} + - component: {fileID: 7870003035999395566} m_Layer: 5 m_Name: Image (1) m_TagString: Untagged @@ -4896,6 +4518,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7870003035999395566 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4354731379849768357} + 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: 9194938270410935249} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &4386518369800759138 GameObject: m_ObjectHideFlags: 0 @@ -5058,7 +4724,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 32 m_FontStyle: 0 m_BestFit: 0 @@ -5302,17 +4968,7 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5795797007125313742} - - {fileID: 731629808222151515} - - {fileID: 6904102336058924644} - - {fileID: 1776990847393911056} - - {fileID: 2736261071585524047} - - {fileID: 2202618419509661009} - - {fileID: 324141200704919379} - - {fileID: 6239337194516145291} - - {fileID: 8607695736855938884} - - {fileID: 8399732672621779809} + m_Children: [] m_Father: {fileID: 8937498072214648020} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} @@ -5371,7 +5027,7 @@ GameObject: - component: {fileID: 5795797007125313742} - component: {fileID: 6240253883568455430} - component: {fileID: 6945952434148819386} - - component: {fileID: 1160911044062776891} + - component: {fileID: 2153965025103682762} m_Layer: 5 m_Name: Image (1) m_TagString: Untagged @@ -5392,11 +5048,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 4293070581043825901} - m_Father: {fileID: 8544199788456434410} + m_Father: {fileID: 8937498072214648020} 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_AnchoredPosition: {x: -45, y: -38} m_SizeDelta: {x: 74, y: 76} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6240253883568455430 @@ -5437,7 +5093,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1160911044062776891 +--- !u!114 &2153965025103682762 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -5446,100 +5102,41 @@ MonoBehaviour: m_GameObject: {fileID: 5194656709235673325} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} m_Name: m_EditorClassIdentifier: - buildingPrefab: {fileID: 4103330549477294349, guid: 47d0e8b57584a47dcb17b11239899d50, type: 3} ---- !u!1 &5295770990398251187 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2202618419509661009} - - component: {fileID: 7891361192317033994} - - component: {fileID: 2519678281893597830} - - component: {fileID: 6630031001579447253} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2202618419509661009 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5295770990398251187} - 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: 4029864586416218014} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7891361192317033994 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5295770990398251187} - m_CullTransparentMesh: 1 ---- !u!114 &2519678281893597830 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5295770990398251187} - 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_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: 6945952434148819386} + m_OnClick: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6630031001579447253 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5295770990398251187} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &5453953753920201092 GameObject: m_ObjectHideFlags: 0 @@ -5627,6 +5224,7 @@ GameObject: - component: {fileID: 6469375856096602010} - component: {fileID: 5639913985507869948} - component: {fileID: 174620060637125477} + - component: {fileID: 4189593402190958458} m_Layer: 5 m_Name: Image m_TagString: Untagged @@ -5692,96 +5290,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &5960997937692294084 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 731629808222151515} - - component: {fileID: 3876957151266642074} - - component: {fileID: 4797661390977787247} - - component: {fileID: 7601045923768467203} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &731629808222151515 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5960997937692294084} - 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: 3555202957293429006} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3876957151266642074 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5960997937692294084} - m_CullTransparentMesh: 1 ---- !u!114 &4797661390977787247 +--- !u!114 &4189593402190958458 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5960997937692294084} + m_GameObject: {fileID: 5913284454080895486} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, 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_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: 174620060637125477} + m_OnClick: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7601045923768467203 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5960997937692294084} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 7749526649938056345, guid: 4a3f361b617324a068b26c81cf213a49, type: 3} --- !u!1 &5982998144133634646 GameObject: m_ObjectHideFlags: 0 @@ -5857,96 +5409,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &6019927710547730512 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6904102336058924644} - - component: {fileID: 5376844700763103783} - - component: {fileID: 6666239806834071426} - - component: {fileID: 4634216352394278159} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6904102336058924644 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6019927710547730512} - 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: 1929553743521531058} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5376844700763103783 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6019927710547730512} - m_CullTransparentMesh: 1 ---- !u!114 &6666239806834071426 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6019927710547730512} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4634216352394278159 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6019927710547730512} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2146220152736021317, guid: f27df6aa46d2f43d192fbbd7f1e230b8, type: 3} --- !u!1 &6082713417576846700 GameObject: m_ObjectHideFlags: 0 @@ -6193,81 +5655,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &6182247516987531519 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 112450603649120138} - - component: {fileID: 7386565700025982121} - - component: {fileID: 3015653931910289168} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &112450603649120138 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6182247516987531519} - 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: 324141200704919379} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7386565700025982121 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6182247516987531519} - m_CullTransparentMesh: 1 ---- !u!114 &3015653931910289168 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6182247516987531519} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &6448317243723240111 GameObject: m_ObjectHideFlags: 0 @@ -6279,6 +5666,7 @@ GameObject: - component: {fileID: 8497447267340040859} - component: {fileID: 1915180336657108105} - component: {fileID: 7874063438572854187} + - component: {fileID: 7938794407961249099} m_Layer: 5 m_Name: Image (1) m_TagString: Untagged @@ -6344,6 +5732,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7938794407961249099 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6448317243723240111} + 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: 7874063438572854187} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &6540445017824616548 GameObject: m_ObjectHideFlags: 0 @@ -6675,6 +6107,7 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: + - {fileID: 5795797007125313742} - {fileID: 8544199788456434410} m_Father: {fileID: 4448399916579867846} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -7190,7 +6623,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 32 m_FontStyle: 0 m_BestFit: 0 @@ -7217,246 +6650,6 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalFit: 2 m_VerticalFit: 2 ---- !u!1 &7275703361137745275 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1056865685800804349} - - component: {fileID: 5100022314021778976} - - component: {fileID: 6830100751092929377} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1056865685800804349 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7275703361137745275} - 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: 8399732672621779809} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5100022314021778976 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7275703361137745275} - m_CullTransparentMesh: 1 ---- !u!114 &6830100751092929377 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7275703361137745275} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &7349032864782683240 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6896276722426535060} - - component: {fileID: 1505349488836883930} - - component: {fileID: 1495523552013662031} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6896276722426535060 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7349032864782683240} - 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: 6239337194516145291} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1505349488836883930 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7349032864782683240} - m_CullTransparentMesh: 1 ---- !u!114 &1495523552013662031 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7349032864782683240} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &7401578354913270015 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8399732672621779809} - - component: {fileID: 8409323340288770511} - - component: {fileID: 8753074360232194204} - - component: {fileID: 6176695164609194695} - m_Layer: 5 - m_Name: Image (10) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8399732672621779809 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7401578354913270015} - 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: 1056865685800804349} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8409323340288770511 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7401578354913270015} - m_CullTransparentMesh: 1 ---- !u!114 &8753074360232194204 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7401578354913270015} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6176695164609194695 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7401578354913270015} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &7427723444866673698 GameObject: m_ObjectHideFlags: 0 @@ -7524,7 +6717,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 22 m_FontStyle: 0 m_BestFit: 0 @@ -7780,7 +6973,7 @@ MonoBehaviour: m_HandleRect: {fileID: 5816437019237929958} m_Direction: 0 m_Value: 0 - m_Size: 0.61570245 + m_Size: 1 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -7980,7 +7173,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 64, y: 36} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3915862480373328361 CanvasRenderer: @@ -8049,6 +7242,7 @@ GameObject: - component: {fileID: 4516878510311394485} - component: {fileID: 1250470913919814741} - component: {fileID: 371105783767489483} + - component: {fileID: 929866691213738093} m_Layer: 5 m_Name: Image (2) m_TagString: Untagged @@ -8114,246 +7308,50 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7884783298039181130 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1929553743521531058} - - component: {fileID: 2253874955900815177} - - component: {fileID: 1246801743771845851} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1929553743521531058 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7884783298039181130} - 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: 6904102336058924644} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2253874955900815177 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7884783298039181130} - m_CullTransparentMesh: 1 ---- !u!114 &1246801743771845851 +--- !u!114 &929866691213738093 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7884783298039181130} + m_GameObject: {fileID: 7855409065241874916} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, 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_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: 371105783767489483} + m_OnClick: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &8325788726283304438 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8543208324726271732} - - component: {fileID: 3998148785604158199} - - component: {fileID: 2848605772304863824} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8543208324726271732 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8325788726283304438} - 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: 1776990847393911056} - 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, y: 0} - m_SizeDelta: {x: 70, y: 72} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3998148785604158199 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8325788726283304438} - m_CullTransparentMesh: 1 ---- !u!114 &2848605772304863824 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8325788726283304438} - 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: d0cd3cbf29c4b7d43bfb8816b5b1256c, 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 &8440077497338605725 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6239337194516145291} - - component: {fileID: 375832189682931457} - - component: {fileID: 4855180964841330054} - - component: {fileID: 2691960698759353611} - m_Layer: 5 - m_Name: Image (8) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6239337194516145291 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8440077497338605725} - 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: 6896276722426535060} - m_Father: {fileID: 8544199788456434410} - 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: 74, y: 76} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &375832189682931457 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8440077497338605725} - m_CullTransparentMesh: 1 ---- !u!114 &4855180964841330054 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8440077497338605725} - 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: 31fa99d38db967544bd4c769342c2677, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &2691960698759353611 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8440077497338605725} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b7d82c37f9bf5474ebb5c67aee8b067f, type: 3} - m_Name: - m_EditorClassIdentifier: - buildingPrefab: {fileID: 2038911489921513946, guid: d981175322c194e238cbd175937232d4, type: 3} --- !u!1 &8447773221895863555 GameObject: m_ObjectHideFlags: 0 @@ -8421,7 +7419,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 7b31ba1ae62cf0a4a8bd5887050f2bfa, type: 3} m_FontSize: 32 m_FontStyle: 0 m_BestFit: 0 @@ -8542,7 +7540,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &4770144024842170610 RectTransform: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/2DZZZ/UI/123.png b/Assets/Resources/2DZZZ/UI/123.png new file mode 100644 index 0000000000000000000000000000000000000000..95f0fcdd566fed68d1924fbcd95031cac87c1ddd GIT binary patch literal 1656 zcmchY{Wny39LFzv)ipJ`Mx~f?lc!cIVXGtJdRV5!CZRkvRI{=xnTYXF#pJ{;>PQz32P6@AvopeSJPZd~f#m zzFt_25e5JNEWz8u9{{vys&yW;O7%`H8Bq&bWPdL=pqh`LR23izJ&XcC9b=7xsH3WN z49yiBZX%CAF0i)5 z94$6kbFqeV>gMsLl*)$j80RoK{t>&PAha|{_C-ARD%Svjv;hJPcvAsa90*)PfL}qa z%VrQ@h60H0e<_Wp$lp)SP4~$Zvab0>;n>11UzSUIdW53A>h|fKXz|y9)JvCK{3`D? zj!c`+G-n$ec}ZzEk@WA@2iU! zQQC{3&dIsi-m3)^bD(Hk-g~vLU(n@EwJkty3CXY>=+c(fvB9!4GM9))ix0y5sol^F z_CO<4nli6Qiwj;hM#19X-U*{4o7~~MIGR10v{bkF1E}$Xqn|AG_UwQ5&}pTVJt=KB z*7H;w>(9dCVMTC$wQ04bihA3Uq9R+0*(#C>VxpRob0jy!jK;zqJCJz)qnC2( z@z{y`vQX=ReZRy@mErzax1E=ya_gLh*-_pki`lm;eUJEg$)SAl2QZ^lf{%VfnMSj! zx?8O!Nns>$?ju2bFco=rbPLL@>On%Ibc9W{KlRx->$$^kE9l6uV9chg%0-&97ZS$%gLi}t=sfkoqzXXs--)9@f{8-5; z?7*$)=gYW`Q_&9`&@z@I)z&@qmSFRO{fQeIh~nSs6JB4Qon5wmj$H5~i78jA-qfzu zxN94^wN+&D{=JRHsD`hSZJfDj^>r^8q}<;Q#S9sI#bK)^u12r4q-(uPUPZOf{c}aF zNdIoym$$vqN;SP}%O@C#Unxsj((Ddz4ejVhv1{B#!y|c{^2{}D(!YsyE%58YaS7o5(}9R-ZF`9;Uw{oslpdqppky53iqzD{pQwQxQy9 zp;@AGyQ7)Un$i;T>a(WQV`7$r+u9}rE%+Wo6y@V)P7U2^$n(O0x+A|Tlqk{+}DU!~QH66jJ zacD>Y!^9_LC`g{xFX)kw$mqai2u?@xDycC92Xm0WJ7aG|8Z6Kiz~kk>0CMyQ8ZbRMTnL(Yl-K zON`mf&Jjj%@M!Q2#7DmcBQ_Z$vwc(DMHJO%g=r%tp1bR2Qy1h0|9si|Mfk9Og6DMxqp@%okPC?$ zy16CB3I^gsTr)~Ek6@-Gl^t-6WHo^*-h$RykVk9O7H0w8$$dQ`ier2Y+9z`A?@ literal 0 HcmV?d00001 diff --git a/Assets/Resources/2DZZZ/UI/123.png.meta b/Assets/Resources/2DZZZ/UI/123.png.meta new file mode 100644 index 0000000..fe2f56a --- /dev/null +++ b/Assets/Resources/2DZZZ/UI/123.png.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: 751ed222f00b88145a27d762aa75510e +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/2DZZZ/矩形 280@1x.png b/Assets/Resources/2DZZZ/矩形 280@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..c868b6bf5addbebd842ca98a05ca419f994318c9 GIT binary patch literal 941 zcmeAS@N?(olHy`uVBq!ia0vp^H9*|M!3HGv^_*P}q!^2X+?^QKos)S9k0hkuh&R%+Y6&Hzlq|=d70g30c0a-sQ;prBj|U6jb%R7ybQf z&b({$cdd(NZm_+}c>M9l>4_5i&RWllIc3pT?|Q_#{ChM*_0fHKX=Mf9zvrc$?x>hk zt*~=V<}5j*&&P~6vtLM?=dQPYW@LY%Oz}IN>y_1ooQ;m`S`lmdC%v$>7Blt zZ}jBami(>LGEyU!5edZc-J(5#uV#|mT4+s=qNmbCE)!-D{?Og@IoCbGz&`H4-TbpTGiTa - { - BTnmove(btnBulidingHouse.gameObject); - Invoke("OnClickBulidingHouse",0.5f); - })); + //btnBulidingHouse.onClick.AddListener((() => + //{ + + // Test(); + //})); btnstoreroom.onClick.AddListener(() => { BTnmove(btnstoreroom.gameObject); @@ -76,6 +77,11 @@ public class MainPanel : Anim { } + public void Test() + { + bool isnow=TestButton.gameObject.activeSelf; + TestButton.gameObject.SetActive(!isnow); + } void OnClickBulidingHouse() { diff --git a/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs b/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs new file mode 100644 index 0000000..ab0418c --- /dev/null +++ b/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs @@ -0,0 +1,73 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class CoordinateAndDrag : MonoBehaviour +{ + private Camera mainCamera; // Ö÷ÉãÏñ»ú + private GameObject selectedObject; // µ±Ç°±»Ñ¡ÖеÄÎïÌå + private bool isDragging = false; // ÊÇ·ñÕýÔÚÍ϶¯ + + private void Start() + { + // »ñÈ¡Ö÷ÉãÏñ»ú + mainCamera = Camera.main; + } + + private void Update() + { + HandleDragging(); + } + + /// + /// ·½·¨1£ºÊÀ½ç×ø±êתÆÁÄ»×ø±ê + /// + public Vector3 WorldToScreen(Vector3 worldPosition) + { + return mainCamera.WorldToScreenPoint(worldPosition); + } + + /// + /// ·½·¨2£ºÆÁÄ»×ø±êתÊÀ½ç×ø±ê£¨ÊÊÅä2D£© + /// + public Vector3 ScreenToWorld(Vector3 screenPosition) + { + screenPosition.z = 0; // È·±£ÔÚ 2D ƽÃæ + return mainCamera.ScreenToWorldPoint(screenPosition); + } + + /// + /// µã»÷²¢Í϶¯ÎïÌ壨°´ÏÂ×ó¼ü¿ªÊ¼Í϶¯£¬Ì§Æð×ó¼üÍ£Ö¹Í϶¯£© + /// + private void HandleDragging() + { + if (Input.GetMouseButtonDown(0)) // Êó±ê×ó¼ü°´Ï + { + // ·¢Éä 2D ÉäÏß¼ì²âÊó±êµã»÷µÄÎïÌå + Vector3 mousePosition = mainCamera.ScreenToWorldPoint(Input.mousePosition); + Collider2D hit = Physics2D.OverlapPoint(mousePosition); + + if (hit != null) + { + // Èç¹ûµã»÷µ½ÁËÎïÌ壬½«ÆäÉèÖÃΪѡÖеÄÎïÌå + selectedObject = hit.gameObject; + isDragging = true; // ¿ªÊ¼Í϶¯ + } + } + + if (isDragging && selectedObject != null) + { + // Êó±êÍ϶¯£º½«ÎïÌå¸úËæÊó±êÒƶ¯ + Vector3 mousePosition = mainCamera.ScreenToWorldPoint(Input.mousePosition); + mousePosition.z = 0; // È·±£ÎïÌå±£³ÖÔÚ 2D ƽÃæ + selectedObject.transform.position = mousePosition; // ¸üÐÂÎïÌåλÖà + } + + if (Input.GetMouseButtonUp(0)) // Êó±ê×ó¼ü̧Æð + { + // Í£Ö¹Í϶¯ + isDragging = false; + selectedObject = null; + } + } +} diff --git a/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs.meta b/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs.meta new file mode 100644 index 0000000..f1be231 --- /dev/null +++ b/Assets/Scripts/ZZZZ/CoordinateAndDrag.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 54eeb604cc13cba49a256ad90d4b51ae +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ZZZZ/Count.cs b/Assets/Scripts/ZZZZ/Count.cs new file mode 100644 index 0000000..b00e81a --- /dev/null +++ b/Assets/Scripts/ZZZZ/Count.cs @@ -0,0 +1,71 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class Count : MonoBehaviour +{ + public int ID; + public string Name; + public static Count ccc; + public GameObject FBGameObject; + public Transform ttt; + public Sprite sp1; + public Sprite sp2; + public Sprite sp3; + public Sprite sp4; + public Sprite sp5; + public Sprite sp6; + public Sprite sp7; + public Sprite sp8; + public void Start() + { + ccc =this; + } + + public void F5() + { + int a=DynamicItemManager.SL.ObjectsList.Count; + for(int i = 0; i().Name) + { + case "¿ó³¡": + go.GetComponent().sprite = sp1; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "¹¤³§2": + case "¹¤³§1": + go.GetComponent().sprite = sp2; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "¿Æ¼¼ÖÐÐÄ": + go.GetComponent().sprite = sp3; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "ÉÌҵ¥": + go.GetComponent().sprite = sp8; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "ÒøÐÐ": + go.GetComponent().sprite = sp5; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "³§¿â": + go.GetComponent().sprite = sp6; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + case "Å©³¡": + go.GetComponent().sprite = sp7; + go.gameObject.transform.Find("Text (Legacy)").GetComponent().text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + break; + + } + TargetIndicator.DL.uiCanvas= GameObject.Find("Canvas1").GetComponent(); + TargetIndicator.DL.targetIcon = go.GetComponent(); + TargetIndicator.DL.distanceText.text = DynamicItemManager.SL.ObjectsList[i].GetComponent().Name; + } + } +} diff --git a/Assets/Scripts/ZZZZ/Count.cs.meta b/Assets/Scripts/ZZZZ/Count.cs.meta new file mode 100644 index 0000000..a7c5a89 --- /dev/null +++ b/Assets/Scripts/ZZZZ/Count.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d7da51932a71cb54193efee459f4e2ef +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs b/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs new file mode 100644 index 0000000..25950c2 --- /dev/null +++ b/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs @@ -0,0 +1,153 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class DragAndCheckTag2D : MonoBehaviour +{ + private Camera mainCamera; // Ö÷ÉãÏñ»ú + private GameObject selectedObject; // µ±Ç°±»Ñ¡ÖеÄÎïÌå + private SpriteRenderer selectedSpriteRenderer; // µ±Ç°ÎïÌåµÄ SpriteRenderer + private bool isDragging = false; // ÊÇ·ñÕýÔÚÍ϶¯ + public string targetTag = "dllb"; // Òª¼ì²âµÄ±êÇ© + + [Header("Íø¸ñϵͳ")] + public GridSystem gridSystem; // ÒýÓÃÍø¸ñϵͳ£¬ÓÃÓÚÍø¸ñ¶ÔÆë + + private Vector3 lastSnappedPosition; // ¼Ç¼ÎïÌåÉÏÒ»´ÎµÄÍø¸ñ¶ÔÆëλÖà + + private void Start() + { + // »ñÈ¡Ö÷ÉãÏñ»ú + mainCamera = Camera.main; + gridSystem = GameObject.Find("ZZZ").GetComponent(); + + } + + private void Update() + { + HandleDragging(); + } + + /// + /// ´¦ÀíÍ϶¯²Ù×÷ + /// + private void HandleDragging() + { + if (Input.GetMouseButtonDown(0)) // Êó±ê×ó¼ü°´Ï + { + // ½«Êó±êλÖÃת»»ÎªÊÀ½ç×ø±ê + Vector3 mousePosition = mainCamera.ScreenToWorldPoint(Input.mousePosition); + mousePosition.z = 0; // È·±£ÔÚ 2D ƽÃæÉÏ + + // ¼ì²âÊó±êϵÄÎïÌå + Collider2D hit = Physics2D.OverlapPoint(mousePosition); + + if (hit != null && hit.CompareTag(targetTag)) + { + // Èç¹ûµã»÷µ½ÁË´øÓÐÄ¿±ê±êÇ©µÄÎïÌ壬½«ÆäÉèÖÃΪѡÖеÄÎïÌå + selectedObject = hit.gameObject; + selectedSpriteRenderer = selectedObject.GetComponent(); + isDragging = true; // ¿ªÊ¼Í϶¯ + + // ³õʼ»¯ÉÏÒ»´Î¶ÔÆëλÖà + lastSnappedPosition = gridSystem.GetSnappedPosition(selectedObject.transform.position); + } + } + + if (isDragging && selectedObject != null) + { + // »ñÈ¡Êó±êµÄÊÀ½ç×ø±ê²¢¶ÔÆëµ½Íø¸ñ + Vector3 mousePosition = mainCamera.ScreenToWorldPoint(Input.mousePosition); + mousePosition.z = 0; // È·±£ÎïÌå±£³ÖÔÚ 2D ƽÃæ + Vector3 snappedPosition = gridSystem.GetSnappedPosition(mousePosition); // ¶ÔÆëµ½×î½üµÄÍø¸ñµã + + // ¼ì²éÊÇ·ñ½øÈëеÄÍø¸ñµã + if (snappedPosition != lastSnappedPosition) + { + // ¸üÐÂÎïÌåλÖà + selectedObject.transform.position = snappedPosition; + lastSnappedPosition = snappedPosition; // ¸üмǼµÄÍø¸ñλÖà + + // ¼ì²âµ±Ç°Î»ÖÃÊÇ·ñÓëÆäËû´øÄ¿±ê±êÇ©µÄÎïÌåÖصþ + CheckOverlapDuringDragging(selectedObject); + } + } + + if (Input.GetMouseButtonUp(0)) // Êó±ê×ó¼ü̧Æð + { + if (isDragging && selectedObject != null) + { + // ¼ì²éµ±Ç°Î»ÖÃÊÇ·ñÓдøÓÐÄ¿±ê±êÇ©µÄÎïÌå + CheckAndHandleOverlap(selectedObject); + selectedObject = null; // ÊÍ·ÅÑ¡ÖеÄÎïÌå + selectedSpriteRenderer = null; // ÊÍ·Å SpriteRenderer + } + + isDragging = false; // Í£Ö¹Í϶¯ + } + } + + /// + /// ¼ì²éÍ϶¯¹ý³ÌÖе±Ç°Î»ÖÃÊÇ·ñÓдøÓÐÄ¿±ê±êÇ©µÄÎïÌå + /// + private void CheckOverlapDuringDragging(GameObject obj) + { + // »ñÈ¡ÎïÌ嵱ǰλÖà + Vector3 objectPosition = obj.transform.position; + + // ·¢Éä 2D Ô²Ðμì²â£¨ÒÔÎïÌåΪÖÐÐÄ£© + Collider2D[] colliders = Physics2D.OverlapCircleAll(objectPosition, 0.5f); // °ë¾¶¿Éµ÷Õû + + bool isOverlapping = false; + + foreach (Collider2D collider in colliders) + { + if (collider.gameObject != obj && collider.CompareTag(targetTag)) + { + isOverlapping = true; + break; + } + } + + // Èç¹ûÖصþ£¬¸Ä±äÑÕÉ«ºÍÅÅÐò²ã¼¶ + if (selectedSpriteRenderer != null) + { + if (isOverlapping) + { + selectedSpriteRenderer.color = Color.red; // ±äºì + selectedSpriteRenderer.sortingOrder += 1; // ͼ²ã˳Ðò +1 + } + else + { + selectedSpriteRenderer.color = Color.white; // »Ö¸´Ô­É« + selectedSpriteRenderer.sortingOrder = 0; // »Ö¸´Ä¬ÈÏÅÅÐò²ã¼¶ + } + } + } + + /// + /// ¼ì²éµ±Ç°Î»ÖÃÊÇ·ñÓдøÓÐÄ¿±ê±êÇ©µÄÎïÌå + /// + private void CheckAndHandleOverlap(GameObject obj) + { + // »ñÈ¡ÎïÌ嵱ǰλÖà + Vector3 objectPosition = obj.transform.position; + + // ·¢Éä 2D Ô²Ðμì²â£¨ÒÔÎïÌåΪÖÐÐÄ£© + Collider2D[] colliders = Physics2D.OverlapCircleAll(objectPosition, 0.5f); // °ë¾¶¿Éµ÷Õû + + foreach (Collider2D collider in colliders) + { + if (collider.gameObject != obj && collider.CompareTag(targetTag)) + { + // Èç¹û¼ì²âµ½ÆäËû´øÓÐÄ¿±ê±êÇ©µÄÎïÌ壬ÔòÏú»Ùµ±Ç°Í϶¯µÄÎïÌå + Debug.Log($"µ±Ç°Î»ÖÃÓÐÆäËû´ø±êÇ© {targetTag} µÄÎïÌ壬Ïú»Ù {obj.name}"); + Destroy(obj); + return; + } + } + + // Èç¹ûµ±Ç°Î»ÖÃûÓÐÆäËû´ø±êÇ©µÄÎïÌå + Debug.Log($"µ±Ç°Î»ÖÃÎÞÆäËû´ø±êÇ© {targetTag} µÄÎïÌ壬±£Áô {obj.name}"); + } +} diff --git a/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs.meta b/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs.meta new file mode 100644 index 0000000..9d75cfc --- /dev/null +++ b/Assets/Scripts/ZZZZ/DragAndCheckTag2D.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c1903c05449af6448a994f68af992466 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ZZZZ/DynamicItemManager.cs b/Assets/Scripts/ZZZZ/DynamicItemManager.cs new file mode 100644 index 0000000..b2540c6 --- /dev/null +++ b/Assets/Scripts/ZZZZ/DynamicItemManager.cs @@ -0,0 +1,240 @@ +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.UI; + +public class DynamicItemManager : MonoBehaviour +{ + [Header("ÎïÆ·¿òÉèÖÃ")] + [SerializeField] private GameObject itemSlotPrefab; // ÎïÆ·¿òµÄÔ¤ÖÆÌå + [SerializeField] private Transform itemSlotParent; // ÎïÆ·¿òµÄ¸¸ÎïÌ壨UI²¼¾ÖÈÝÆ÷£© + [SerializeField] private int numberOfItems = 5; // ÒªÉú³ÉµÄÎïÆ·¿òÊýÁ¿ + + [Header("ÎïÆ·Áбí")] + [SerializeField] private List spawnableObjects; // ¿ÉÉú³ÉµÄÎïÌåÁбí + private List assignedObjects = new List(); // ÒÑ·ÖÅäµÄÎïÌåÁбí + + [Header("Í϶¯ÎïÆ·ÉèÖÃ")] + [SerializeField] private string targetTag = "dllb"; // Ä¿±ê±êÇ©£¬ÓÃÓÚ¼ì²â + private Camera mainCamera; // Ö÷ÉãÏñ»ú + private GameObject currentDraggingObject; // µ±Ç°Í϶¯µÄÎïÌå + private SpriteRenderer currentSpriteRenderer; // µ±Ç°Í϶¯ÎïÌåµÄ SpriteRenderer + private bool isDragging = false; // ÊÇ·ñÕýÔÚÍ϶¯ + + [Header("Íø¸ñϵͳ")] + [SerializeField] private GridSystem gridSystem; // ÒýÓÃÍø¸ñϵͳ½Å±¾ + public static int num=0; + + public List ObjectsList= new List(); + public static DynamicItemManager SL; + public Count ccc; + + private void Start() + { + SL = this; + mainCamera = Camera.main; // »ñÈ¡Ö÷ÉãÏñ»ú + GenerateItemSlots(); // ¶¯Ì¬Éú³ÉÎïÆ·¿ò + + } + + /// + /// ¶¯Ì¬Éú³ÉÎïÆ·¿ò²¢·ÖÅäÎïÌå + /// + private void GenerateItemSlots() + { + if (itemSlotPrefab == null || itemSlotParent == null) + { + Debug.LogError("ÎïÆ·¿òÔ¤ÖÆÌå»ò¸¸ÎïÌåδÉèÖã¡"); + return; + } + + if (spawnableObjects.Count < numberOfItems) + { + Debug.LogError("¿ÉÉú³ÉµÄÎïÌåÊýÁ¿ÉÙÓÚÎïÆ·¿òÊýÁ¿£¡"); + return; + } + + // ¶¯Ì¬Éú³ÉÎïÆ·¿ò + for (int i = 0; i < numberOfItems; i++) + { + // ʵÀý»¯ÎïÆ·¿ò + GameObject itemSlot = Instantiate(itemSlotPrefab, itemSlotParent); + itemSlot.name = $"ItemSlot_{i + 1}"; + + // ÉèÖÃÎïÆ·¿òÖеÄÏÔʾÄÚÈÝ + Image slotImage = itemSlot.GetComponentInChildren(); + // Text slotText = itemSlot.GetComponentInChildren(); + Button slotButton = itemSlot.GetComponentInChildren