diff --git a/Assets/Prefabs/UI/HotbarSlot.prefab b/Assets/Prefabs/UI/HotbarSlot.prefab new file mode 100644 index 0000000..bc91335 --- /dev/null +++ b/Assets/Prefabs/UI/HotbarSlot.prefab @@ -0,0 +1,345 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1989902681405785901 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1989902681405785900} + - component: {fileID: 9180389979287968876} + m_Layer: 5 + m_Name: HotbarSlot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1989902681405785900 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1989902681405785901} + 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: 7619827840200393236} + - {fileID: 1989902682789333208} + - {fileID: 529053022278831108} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -521, y: -293} + m_SizeDelta: {x: 35, y: 35} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &9180389979287968876 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1989902681405785901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 12c5ff2bade265a499f7b2d983c6508c, type: 3} + m_Name: + m_EditorClassIdentifier: + slotIndex: 0 + border: {fileID: 1611952017132911468} + image: {fileID: 1989902682789333215} + quantityText: {fileID: 7384049931803016301} +--- !u!1 &1989902682789333209 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1989902682789333208} + - component: {fileID: 1989902682789333214} + - component: {fileID: 1989902682789333215} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1989902682789333208 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1989902682789333209} + 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: 1989902681405785900} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1989902682789333214 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1989902682789333209} + m_CullTransparentMesh: 1 +--- !u!114 &1989902682789333215 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1989902682789333209} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &2062401924522594774 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 529053022278831108} + - component: {fileID: 5783007800145898443} + - component: {fileID: 7384049931803016301} + m_Layer: 5 + m_Name: Quantity + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &529053022278831108 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2062401924522594774} + 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: 1989902681405785900} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5783007800145898443 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2062401924522594774} + m_CullTransparentMesh: 1 +--- !u!114 &7384049931803016301 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2062401924522594774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, 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_text: + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 10 + m_fontSizeBase: 10 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 1 + m_HorizontalAlignment: 4 + m_VerticalAlignment: 1024 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5943977260266451092 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7619827840200393236} + - component: {fileID: 3134211189210913619} + - component: {fileID: 1611952017132911468} + m_Layer: 5 + m_Name: Border + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &7619827840200393236 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5943977260266451092} + 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: 1989902681405785900} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3134211189210913619 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5943977260266451092} + m_CullTransparentMesh: 1 +--- !u!114 &1611952017132911468 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5943977260266451092} + 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: 750dd96bbe7b2ef49a0e27f68ce9c1c4, 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 diff --git a/Assets/Prefabs/UI/HotbarSlot.prefab.meta b/Assets/Prefabs/UI/HotbarSlot.prefab.meta new file mode 100644 index 0000000..5ae5bbe --- /dev/null +++ b/Assets/Prefabs/UI/HotbarSlot.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9bed75a8e605a864fb4b41f3e0ae9517 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/UI/Slot.prefab b/Assets/Prefabs/UI/InventorySlot.prefab similarity index 99% rename from Assets/Prefabs/UI/Slot.prefab rename to Assets/Prefabs/UI/InventorySlot.prefab index 3f3c489..be9d7b1 100644 --- a/Assets/Prefabs/UI/Slot.prefab +++ b/Assets/Prefabs/UI/InventorySlot.prefab @@ -152,7 +152,7 @@ GameObject: - component: {fileID: 2634354024091149696} - component: {fileID: 2202512530307776240} m_Layer: 5 - m_Name: Slot + m_Name: InventorySlot m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/UI/Slot.prefab.meta b/Assets/Prefabs/UI/InventorySlot.prefab.meta similarity index 100% rename from Assets/Prefabs/UI/Slot.prefab.meta rename to Assets/Prefabs/UI/InventorySlot.prefab.meta diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index b61d9e0..319588f 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -123,6 +123,122 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!1 &153338327 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 153338328} + - component: {fileID: 153338330} + - component: {fileID: 153338329} + - component: {fileID: 153338332} + - component: {fileID: 153338331} + m_Layer: 5 + m_Name: Hotbar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &153338328 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 153338327} + 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: 2143575113} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: 0, y: 36.9} + m_SizeDelta: {x: 506.1665, y: 64.8931} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &153338329 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 153338327} + 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: 605103416, guid: 795db869fd014b14fab2f82e44829257, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &153338330 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 153338327} + m_CullTransparentMesh: 1 +--- !u!114 &153338331 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 153338327} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: daff4f23cf5534f478f13df54b51124a, type: 3} + m_Name: + m_EditorClassIdentifier: + panelName: Hotbar + hotbarSlotPrefab: {fileID: 1989902681405785901, guid: 9bed75a8e605a864fb4b41f3e0ae9517, type: 3} +--- !u!114 &153338332 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 153338327} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 4 + m_StartCorner: 0 + m_StartAxis: 0 + m_CellSize: {x: 40, y: 40} + m_Spacing: {x: 14, y: 0} + m_Constraint: 0 + m_ConstraintCount: 2 --- !u!1 &218098462 GameObject: m_ObjectHideFlags: 0 @@ -57609,6 +57725,7 @@ RectTransform: m_Children: - {fileID: 550426625} - {fileID: 1027537965} + - {fileID: 153338328} m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -57629,3 +57746,4 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 2ccedadcedce99843833ee718fc06377, type: 3} m_Name: m_EditorClassIdentifier: + panels: [] diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 0902392..702b8cb 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -1,21 +1,24 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; +using System; public class PlayerController : MonoBehaviour { + public static Action OnActiveSlotChanged; public Item testItem1; public Item testItem2; - [SerializeField] private int hotbarSlotCount = 9; - [SerializeField] private int activeHotbarSlot = 0; + public int hotbarSlotCount = 9; + public int activeHotbarSlot = 0; [SerializeField] private Inventory playerInventory; // Start is called before the first frame update void Start() { playerInventory = GetComponent(); + GuiManager.Instance.OpenPanel("Hotbar"); } // Update is called once per frame @@ -33,6 +36,7 @@ public class PlayerController : MonoBehaviour { activeHotbarSlot = 0; } + OnActiveSlotChanged?.Invoke(); } if (Input.GetKeyDown(KeyCode.Tab)) diff --git a/Assets/Scripts/UI/GuiManager.cs b/Assets/Scripts/UI/GuiManager.cs index 4a15ac3..2f4f628 100644 --- a/Assets/Scripts/UI/GuiManager.cs +++ b/Assets/Scripts/UI/GuiManager.cs @@ -28,14 +28,13 @@ public class GuiManager : MonoBehaviour private void Awake() { - if (instance == null) + if (instance != null && instance != this) { - instance = this; - } - else - { - Destroy(gameObject); + Destroy(this.gameObject); + return; } + instance = this; + DontDestroyOnLoad(gameObject); } @@ -65,6 +64,10 @@ public class GuiManager : MonoBehaviour { OpenPanel(panel); } + else + { + Debug.Log("Panel not found: " + name); + } } public void OpenPanel(GuiPanel panel) @@ -73,7 +76,7 @@ public class GuiManager : MonoBehaviour if (!panel.gameObject.activeSelf) { panel.gameObject.SetActive(true); - panel.OnClose(); + panel.OnOpen(); Debug.Log("Open Panel"); return; } diff --git a/Assets/Scripts/UI/HotbarSlotUI.cs b/Assets/Scripts/UI/HotbarSlotUI.cs new file mode 100644 index 0000000..5510148 --- /dev/null +++ b/Assets/Scripts/UI/HotbarSlotUI.cs @@ -0,0 +1,56 @@ +using System.Collections; +using UnityEngine.UI; +using System.Collections.Generic; +using UnityEngine; +using TMPro; +public class HotbarSlotUI : MonoBehaviour +{ + public int slotIndex; + + private PlayerController playerController; + + private InventoryItem invItem; + + [SerializeField] private Image border; + [SerializeField] private Image image; + [SerializeField] private TextMeshProUGUI quantityText; + + private void Start() + { + playerController = GameObject.FindGameObjectWithTag("Player").GetComponent(); + PlayerController.OnActiveSlotChanged += CheckSelectedSlot; + CheckSelectedSlot(); + } + + private void CheckSelectedSlot() + { + if (playerController.activeHotbarSlot == slotIndex) + { + border.gameObject.SetActive(true); + } + else + { + border.gameObject.SetActive(false); + } + } + + public void SetInventoryItem(InventoryItem newInvItem) + { + invItem = newInvItem; + UpdateSlot(); + } + + private void UpdateSlot() + { + image.sprite = invItem?.item?.sprite ?? null; + quantityText.SetText(invItem?.count.ToString() ?? ""); + if (image.sprite == null) + { + image.color = new Color(0, 0, 0, 0); + } + else + { + image.color = Color.white; + } + } +} diff --git a/Assets/Scripts/UI/HotbarSlotUI.cs.meta b/Assets/Scripts/UI/HotbarSlotUI.cs.meta new file mode 100644 index 0000000..36597cb --- /dev/null +++ b/Assets/Scripts/UI/HotbarSlotUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 12c5ff2bade265a499f7b2d983c6508c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/UI/HotbarUI.cs b/Assets/Scripts/UI/HotbarUI.cs new file mode 100644 index 0000000..70eda6d --- /dev/null +++ b/Assets/Scripts/UI/HotbarUI.cs @@ -0,0 +1,52 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class HotbarUI : GuiPanel +{ + [SerializeField] private GameObject hotbarSlotPrefab; + private List slots = new List(); + private Inventory playerInventory; + private PlayerController playerController; + private int hotbarSlotCount = 9; + + private void Start() + { + Inventory.OnPlayerInventoryChanged += UpdateSlots; + } + public override void OnOpen() + { + if (slots.Count == 0) + { + playerInventory = GameObject.FindGameObjectWithTag("Player").GetComponent(); + playerController = GameObject.FindGameObjectWithTag("Player").GetComponent(); + hotbarSlotCount = playerController.hotbarSlotCount; + CreateSlots(); + } + UpdateSlots(); + } + + public override void OnClose() + { + } + + private void CreateSlots() + { + for (int i = 0; i < hotbarSlotCount; i++) + { + HotbarSlotUI newSlot = Instantiate(hotbarSlotPrefab, Vector3.zero, Quaternion.identity, transform).GetComponent(); + newSlot.slotIndex = i; + slots.Add(newSlot); + } + } + + private void UpdateSlots() + { + for (int i = 0; i < slots.Count; i++) + { + slots[i].SetInventoryItem(playerInventory.items[i] ?? null); + } + } + +} diff --git a/Assets/Scripts/UI/HotbarUI.cs.meta b/Assets/Scripts/UI/HotbarUI.cs.meta new file mode 100644 index 0000000..326fe93 --- /dev/null +++ b/Assets/Scripts/UI/HotbarUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: daff4f23cf5534f478f13df54b51124a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/UI/InventoryUI.cs b/Assets/Scripts/UI/InventoryUI.cs index 91b93ea..07c18a8 100644 --- a/Assets/Scripts/UI/InventoryUI.cs +++ b/Assets/Scripts/UI/InventoryUI.cs @@ -12,12 +12,15 @@ public class InventoryUI : GuiPanel private void Start() { - playerInventory = GameObject.FindGameObjectWithTag("Player").GetComponent(); Inventory.OnPlayerInventoryChanged += UpdateSlots; - CreateSlots(); } public override void OnOpen() { + if (slotUIList.Count == 0) + { + playerInventory = GameObject.FindGameObjectWithTag("Player").GetComponent(); + CreateSlots(); + } UpdateSlots(); } diff --git a/Assets/Sprites/Cozy Farm/ui/UI.png.meta b/Assets/Sprites/Cozy Farm/ui/UI.png.meta index 7e230b7..ac9fdcf 100644 --- a/Assets/Sprites/Cozy Farm/ui/UI.png.meta +++ b/Assets/Sprites/Cozy Farm/ui/UI.png.meta @@ -33,7 +33,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: 1 + filterMode: 0 aniso: 1 mipBias: 0 wrapU: 1 @@ -42,12 +42,12 @@ TextureImporter: nPOTScale: 0 lightmap: 0 compressionQuality: 50 - spriteMode: 1 + spriteMode: 2 spriteExtrude: 1 spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 16 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -70,7 +70,7 @@ TextureImporter: maxTextureSize: 2048 resizeAlgorithm: 0 textureFormat: -1 - textureCompression: 1 + textureCompression: 0 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 @@ -115,7 +115,2359 @@ TextureImporter: forceMaximumCompressionQuality_BC6H_BC7: 0 spriteSheet: serializedVersion: 2 - sprites: [] + sprites: + - serializedVersion: 2 + name: UI_0 + rect: + serializedVersion: 2 + x: 128 + y: 118 + width: 44 + height: 20 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 09d55505176a5a74782862ea5105f022 + internalID: 1657173687 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_1 + rect: + serializedVersion: 2 + x: 192 + y: 128 + width: 21 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 50b1b90e79d70c74ca16afd06b0bf57e + internalID: 1368787196 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_2 + rect: + serializedVersion: 2 + x: 214 + y: 128 + width: 10 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2e97ac880d8618241940060b735970d2 + internalID: -889975776 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_3 + rect: + serializedVersion: 2 + x: 229 + y: 128 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 404c9a3bcb6cea14a9718257cf8e3a0c + internalID: -1287615178 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_4 + rect: + serializedVersion: 2 + x: 244 + y: 128 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0d55a7f2bbc7d8548b85de7b81446b3c + internalID: -855377741 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_5 + rect: + serializedVersion: 2 + x: 260 + y: 128 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a8ebc6c0e468e0845b329415e4293b8e + internalID: -1945549669 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_6 + rect: + serializedVersion: 2 + x: 275 + y: 128 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5667c36762783214e88b4ec5ddd02b10 + internalID: 1630869900 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_7 + rect: + serializedVersion: 2 + x: 292 + y: 128 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 61775175eb019864baa7d54a708fce8e + internalID: 575225480 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_8 + rect: + serializedVersion: 2 + x: 308 + y: 128 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 587a36bab4df33d49b3dc082707014b5 + internalID: -860144520 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_9 + rect: + serializedVersion: 2 + x: 322 + y: 128 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a95d254c3af633744b357e7ae7b8eb2a + internalID: 357128971 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_10 + rect: + serializedVersion: 2 + x: 338 + y: 128 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 32493d8ebe5717e42bde9c22333a2e60 + internalID: -233318779 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_11 + rect: + serializedVersion: 2 + x: 353 + y: 128 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a5bc09543d789144196a1a00025e5cac + internalID: 1086810252 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_12 + rect: + serializedVersion: 2 + x: 369 + y: 128 + width: 9 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 16588147714129448b6cf7a00ac751ae + internalID: -240243550 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_13 + rect: + serializedVersion: 2 + x: 2 + y: 67 + width: 60 + height: 57 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e346f3b29072fd547a4e418a1c9bec52 + internalID: 1066529205 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_14 + rect: + serializedVersion: 2 + x: 66 + y: 67 + width: 60 + height: 57 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d9d48465028d8b04d8263e3c3e8428aa + internalID: 557790731 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_15 + rect: + serializedVersion: 2 + x: 194 + y: 112 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 96e2a86e9ccd5b14ab6c1d1b607bc07a + internalID: -1945172008 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_16 + rect: + serializedVersion: 2 + x: 202 + y: 112 + width: 9 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 88c6ae7b74eee9841b8e778ee6f5325f + internalID: 353681348 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_17 + rect: + serializedVersion: 2 + x: 212 + y: 112 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 975394af3310e46478d8f079b59e2ca7 + internalID: -781575266 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_18 + rect: + serializedVersion: 2 + x: 224 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: fe0dbf489607efc468fcfac92f992d45 + internalID: -1312615930 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_19 + rect: + serializedVersion: 2 + x: 231 + y: 112 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e0e2f68e0f76f3a408822833ec98a2ee + internalID: -1636483976 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_20 + rect: + serializedVersion: 2 + x: 241 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e712cdb79b764e0459ef15475865ec74 + internalID: 1265813515 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_21 + rect: + serializedVersion: 2 + x: 247 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e9ac805a71b178e41abc66f7ce056ebb + internalID: -1497518304 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_22 + rect: + serializedVersion: 2 + x: 256 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 467ce64b7b5ca044fa95ee7ffd320dcd + internalID: -972128105 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_23 + rect: + serializedVersion: 2 + x: 262 + y: 112 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 057e4b3029905594b8d31d612e826c43 + internalID: -1914147649 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_24 + rect: + serializedVersion: 2 + x: 272 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a018e75c55901ee46a3c81622998a79e + internalID: -1304379525 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_25 + rect: + serializedVersion: 2 + x: 278 + y: 112 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 726dcaaf4ff651a46bef264ec0f2a77a + internalID: 142641789 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_26 + rect: + serializedVersion: 2 + x: 289 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: c0aed42ea5fb73442bb9cf256a6f877c + internalID: 23076394 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_27 + rect: + serializedVersion: 2 + x: 295 + y: 112 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a70c36f038f8d8e429b5bb3c7c840170 + internalID: -122747548 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_28 + rect: + serializedVersion: 2 + x: 304 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 622ee96302b1eb340870ba35bd1e6b62 + internalID: -658456667 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_29 + rect: + serializedVersion: 2 + x: 310 + y: 112 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5c648b8dfa3efb443bddb8f9992e3637 + internalID: -2030806088 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_30 + rect: + serializedVersion: 2 + x: 320 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a0d1421d863025342be606e2df241a5a + internalID: 1402496493 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_31 + rect: + serializedVersion: 2 + x: 326 + y: 112 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 86eef04e20ea70e4c8f649c5682c855b + internalID: -839765392 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_32 + rect: + serializedVersion: 2 + x: 336 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 59b0aa429c4b74b4492a2a6d8e326684 + internalID: 1182993044 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_33 + rect: + serializedVersion: 2 + x: 342 + y: 112 + width: 8 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 1bc052cf93815684db13e360b3f0b8b1 + internalID: 395696782 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_34 + rect: + serializedVersion: 2 + x: 352 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: df244e851b9c454439284736dff11ae0 + internalID: -1178857758 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_35 + rect: + serializedVersion: 2 + x: 358 + y: 112 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 76d71a2f8d3ab5141a8da327340e8928 + internalID: -1934787923 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_36 + rect: + serializedVersion: 2 + x: 368 + y: 112 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9d3af07ae40020f4c9ea7ddf67c58856 + internalID: -819424319 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_37 + rect: + serializedVersion: 2 + x: 374 + y: 112 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 99a336510624aa847a9479a63183054c + internalID: -930657763 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_38 + rect: + serializedVersion: 2 + x: 128 + y: 85 + width: 60 + height: 22 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2fb73b70212df4c498b072eb44c44c6e + internalID: -721785607 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_39 + rect: + serializedVersion: 2 + x: 192 + y: 96 + width: 21 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2868428fd1d2e21489f008c86766ee83 + internalID: -305107951 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_40 + rect: + serializedVersion: 2 + x: 214 + y: 96 + width: 17 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7092822c6bcd13d4ea079b2e8cff0e1b + internalID: 214932787 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_41 + rect: + serializedVersion: 2 + x: 232 + y: 96 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7ddeb22f41f32454b9ea1f1f5b2aabab + internalID: -402862339 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_42 + rect: + serializedVersion: 2 + x: 240 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b035ec7f69745d64d9b2fda0aa819848 + internalID: -1926580910 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_43 + rect: + serializedVersion: 2 + x: 248 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 504f864f5da7004498857550853f8b6b + internalID: -1790485007 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_44 + rect: + serializedVersion: 2 + x: 256 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 923cd4ef70e915e4694a17fa76da89a9 + internalID: 1101832619 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_45 + rect: + serializedVersion: 2 + x: 264 + y: 96 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ecdf7e61b2e39674395ec8b81da79c0f + internalID: 1609669747 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_46 + rect: + serializedVersion: 2 + x: 272 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: c5baa85f43188be438c814a09c74b8cc + internalID: -1560584778 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_47 + rect: + serializedVersion: 2 + x: 280 + y: 96 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5a3b590ac224d02439441ea430d74a55 + internalID: -2068790479 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_48 + rect: + serializedVersion: 2 + x: 296 + y: 96 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d886377693dd0b349a41a0cebfde83e3 + internalID: 822476254 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_49 + rect: + serializedVersion: 2 + x: 304 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 07feccb6dbcb459458a2f3c3b7722295 + internalID: 344382407 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_50 + rect: + serializedVersion: 2 + x: 312 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9d7168bcc14682e4a99485325084330c + internalID: -18528554 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_51 + rect: + serializedVersion: 2 + x: 320 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d003ddd20f571e643851dc19b356608c + internalID: 20391029 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_52 + rect: + serializedVersion: 2 + x: 328 + y: 96 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ac0aaaa8540e8c74092d08bf6c7eddb3 + internalID: -621942135 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_53 + rect: + serializedVersion: 2 + x: 344 + y: 96 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5d83fcdd8c77f0140ba1f6a7e337cd21 + internalID: 1344715983 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_54 + rect: + serializedVersion: 2 + x: 360 + y: 96 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f8de2eb01d4b0b042bf85274acbaefc0 + internalID: 1413734834 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_55 + rect: + serializedVersion: 2 + x: 368 + y: 96 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b1e68ad6624cead4e8483442a71301b0 + internalID: -943342763 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_56 + rect: + serializedVersion: 2 + x: 376 + y: 96 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9bb925ba82792f44eac752fc72af3633 + internalID: -1286729924 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_57 + rect: + serializedVersion: 2 + x: 192 + y: 80 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a99483c853af934479d66b91cb89b633 + internalID: 1497186304 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_58 + rect: + serializedVersion: 2 + x: 200 + y: 80 + width: 8 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 77f5fb81f2b6044409d0e2e9677012e6 + internalID: -1230020222 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_59 + rect: + serializedVersion: 2 + x: 209 + y: 80 + width: 9 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8ee72a7a2d2a5a44f8310865d304395d + internalID: 340496004 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_60 + rect: + serializedVersion: 2 + x: 224 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: af57f67b4d9b58d4b963182fd1b96c4a + internalID: -202862932 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_61 + rect: + serializedVersion: 2 + x: 232 + y: 80 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 02a0123d9b9a392478309a5b3a4d7db5 + internalID: 883880441 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_62 + rect: + serializedVersion: 2 + x: 240 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5cda5dc4780bde24cb3dba4821013e30 + internalID: -716226728 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_63 + rect: + serializedVersion: 2 + x: 248 + y: 80 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 6058e03d5870c9d4bac8cea1ecb30a91 + internalID: 1481983450 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_64 + rect: + serializedVersion: 2 + x: 256 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f136e547dd48d89459813491697e1538 + internalID: -1894862447 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_65 + rect: + serializedVersion: 2 + x: 264 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f7d1ffb7eca9aa04c96971fde7ebc249 + internalID: 1755526335 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_66 + rect: + serializedVersion: 2 + x: 272 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ffb178de5f604184cb7f178f6aa8d29d + internalID: 310818412 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_67 + rect: + serializedVersion: 2 + x: 280 + y: 80 + width: 16 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 917b4b8948dc802409e1df9db7130cb3 + internalID: -1984161982 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_68 + rect: + serializedVersion: 2 + x: 297 + y: 80 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b473edb5061405748ba5300283263841 + internalID: -1127935193 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_69 + rect: + serializedVersion: 2 + x: 304 + y: 80 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 01cecaef0d29e654ca22170f517e8e96 + internalID: -1508777559 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_70 + rect: + serializedVersion: 2 + x: 320 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8d951117a5f5dd34daab9cacac2466d8 + internalID: 1267331553 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_71 + rect: + serializedVersion: 2 + x: 328 + y: 80 + width: 32 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d786281e9cbf16e4ebd755ff539f874f + internalID: 1814643875 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_72 + rect: + serializedVersion: 2 + x: 360 + y: 80 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 3943a39f88b9c0b4c8f9d22435fed65d + internalID: -1547188064 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_73 + rect: + serializedVersion: 2 + x: 368 + y: 80 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0f041533c52a2804aac72fe4f33a5728 + internalID: -815098911 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_74 + rect: + serializedVersion: 2 + x: 377 + y: 80 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 780aee66b01aacd4981d720be01ab260 + internalID: 2052556619 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_75 + rect: + serializedVersion: 2 + x: 128 + y: 58 + width: 48 + height: 18 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e4b1ebe6ea71bb94a83ca5b67bd83618 + internalID: 1494813693 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_76 + rect: + serializedVersion: 2 + x: 197 + y: 64 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: c3c4ae75c7c94564a97e5c80495e288f + internalID: 19592118 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_77 + rect: + serializedVersion: 2 + x: 205 + y: 64 + width: 5 + height: 6 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ea8f631ad4f168b45addf848ebb5684c + internalID: 907603212 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_78 + rect: + serializedVersion: 2 + x: 212 + y: 64 + width: 4 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ac908e9393de6c14a9d04828f0effe61 + internalID: -1941323922 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_79 + rect: + serializedVersion: 2 + x: 224 + y: 64 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5a2d429176d276c40a6e64359ce2d9b5 + internalID: -1251973793 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_80 + rect: + serializedVersion: 2 + x: 240 + y: 64 + width: 16 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 68ae73cc1f9f18547a3ee0268ffbdb93 + internalID: 228703996 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_81 + rect: + serializedVersion: 2 + x: 256 + y: 64 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 6d250973e6c9c3a4e9b4a052b3dc6161 + internalID: 533908909 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_82 + rect: + serializedVersion: 2 + x: 272 + y: 64 + width: 24 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7af1157e330a5774498a07589e0196f3 + internalID: 665499237 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_83 + rect: + serializedVersion: 2 + x: 297 + y: 64 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 74ab264d35fb912429c6cdc05e4b6f0e + internalID: -1991599337 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_84 + rect: + serializedVersion: 2 + x: 304 + y: 64 + width: 15 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 87d80d6df2fcc784b8936625dec08044 + internalID: 902249773 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_85 + rect: + serializedVersion: 2 + x: 320 + y: 64 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: bfdaadecff7796f45a7913ea87a4e553 + internalID: 1687071705 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_86 + rect: + serializedVersion: 2 + x: 327 + y: 64 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 047d7d5a85020c444898fd1a1ee4bcb1 + internalID: -1900518547 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_87 + rect: + serializedVersion: 2 + x: 336 + y: 64 + width: 31 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e556a3b28d38f6e4982cddf2f0cffb91 + internalID: -1850077108 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_88 + rect: + serializedVersion: 2 + x: 368 + y: 64 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 33602fafaaf99a54e87aec6423048525 + internalID: -228793831 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_89 + rect: + serializedVersion: 2 + x: 375 + y: 64 + width: 5 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0986ff2c56334a548a02ec1bed053aad + internalID: -1656570981 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_90 + rect: + serializedVersion: 2 + x: 16 + y: 4 + width: 64 + height: 52 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ccc83e8280fd87843a6ef1b299d83f5d + internalID: 983722146 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_91 + rect: + serializedVersion: 2 + x: 193 + y: 48 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 17f5e607e76f89d459e7296eaebde1fc + internalID: -1154893280 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_92 + rect: + serializedVersion: 2 + x: 202 + y: 48 + width: 9 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 908e48e0fe9b71149a285d480fe1fef2 + internalID: -1758106161 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_93 + rect: + serializedVersion: 2 + x: 211 + y: 48 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 3f8bc9ba3bc65314d9deeb1e4a4e019e + internalID: -450891055 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_94 + rect: + serializedVersion: 2 + x: 224 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 25ff7612290b3364a94e8e60e16199e4 + internalID: -456378940 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_95 + rect: + serializedVersion: 2 + x: 231 + y: 48 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ceadebc5def71e441917fca38d498410 + internalID: -520437884 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_96 + rect: + serializedVersion: 2 + x: 240 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b30bf69d40db8824a9dd2873990e09f9 + internalID: -774519048 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_97 + rect: + serializedVersion: 2 + x: 247 + y: 48 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ca2dcbe50b1da9d48ba421b610c1f13a + internalID: 637485269 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_98 + rect: + serializedVersion: 2 + x: 256 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 3d362bfa1f5efcb4787daa8c1dbeb447 + internalID: 1782640292 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_99 + rect: + serializedVersion: 2 + x: 263 + y: 48 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8fc94850f483b884ca83bad70950160a + internalID: -1553314805 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_100 + rect: + serializedVersion: 2 + x: 272 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0ecb5d7a42669a54583df648a19ab498 + internalID: -2144600153 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_101 + rect: + serializedVersion: 2 + x: 280 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: be6f26db861b36f47b525dcb8c37b49f + internalID: 682832052 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_102 + rect: + serializedVersion: 2 + x: 288 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 3b03e1f79b40f874d91b31351d468a64 + internalID: -1384825058 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_103 + rect: + serializedVersion: 2 + x: 295 + y: 48 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e083d19e200f80c4283ae03119b3dc78 + internalID: -33774593 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_104 + rect: + serializedVersion: 2 + x: 304 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: fcafa5d28f079da4cb93e37ffde56cdd + internalID: -714964232 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_105 + rect: + serializedVersion: 2 + x: 311 + y: 48 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: fb3ad64ce939ef1469b97435a36c6d05 + internalID: 1516439273 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_106 + rect: + serializedVersion: 2 + x: 320 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0e6fe990014fb604a82e63d4a0c89da7 + internalID: 744575480 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_107 + rect: + serializedVersion: 2 + x: 327 + y: 48 + width: 8 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d447d2db018603c4d99785d8cc4372d2 + internalID: -833703660 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_108 + rect: + serializedVersion: 2 + x: 336 + y: 48 + width: 6 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b91aabe0ad176884ea838f7296e8c9b0 + internalID: -174312758 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_109 + rect: + serializedVersion: 2 + x: 343 + y: 48 + width: 7 + height: 9 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2f0253e11f1a4c241878078626c4ba08 + internalID: -1137314044 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_110 + rect: + serializedVersion: 2 + x: 4 + y: 8 + width: 8 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 515b85082fab2b74ba00a80918cf8292 + internalID: 1134416061 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: UI_111 + rect: + serializedVersion: 2 + x: 97 + y: 1 + width: 206 + height: 31 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d7a87f8d4b34436449fde18c1445ddea + internalID: 605103416 + vertices: [] + indices: + edges: [] + weights: [] outline: [] physicsShape: [] bones: [] @@ -126,7 +2478,119 @@ TextureImporter: edges: [] weights: [] secondaryTextures: [] - nameFileIdTable: {} + nameFileIdTable: + UI_68: -1127935193 + UI_91: -1154893280 + UI_1: 1368787196 + UI_83: -1991599337 + UI_40: 214932787 + UI_72: -1547188064 + UI_19: -1636483976 + UI_84: 902249773 + UI_73: -815098911 + UI_92: -1758106161 + UI_93: -450891055 + UI_69: -1508777559 + UI_78: -1941323922 + UI_50: -18528554 + UI_22: -972128105 + UI_106: 744575480 + UI_24: -1304379525 + UI_64: -1894862447 + UI_41: -402862339 + UI_20: 1265813515 + UI_8: -860144520 + UI_105: 1516439273 + UI_49: 344382407 + UI_109: -1137314044 + UI_59: 340496004 + UI_63: 1481983450 + UI_36: -819424319 + UI_11: 1086810252 + UI_38: -721785607 + UI_60: -202862932 + UI_66: 310818412 + UI_71: 1814643875 + UI_67: -1984161982 + UI_74: 2052556619 + UI_100: -2144600153 + UI_76: 19592118 + UI_2: -889975776 + UI_34: -1178857758 + UI_96: -774519048 + UI_56: -1286729924 + UI_87: -1850077108 + UI_12: -240243550 + UI_0: 1657173687 + UI_7: 575225480 + UI_46: -1560584778 + UI_62: -716226728 + UI_55: -943342763 + UI_26: 23076394 + UI_15: -1945172008 + UI_89: -1656570981 + UI_35: -1934787923 + UI_10: -233318779 + UI_53: 1344715983 + UI_86: -1900518547 + UI_18: -1312615930 + UI_5: -1945549669 + UI_102: -1384825058 + UI_43: -1790485007 + UI_70: 1267331553 + UI_104: -714964232 + UI_39: -305107951 + UI_25: 142641789 + UI_27: -122747548 + UI_21: -1497518304 + UI_3: -1287615178 + UI_98: 1782640292 + UI_107: -833703660 + UI_88: -228793831 + UI_51: 20391029 + UI_75: 1494813693 + UI_58: -1230020222 + UI_29: -2030806088 + UI_42: -1926580910 + UI_17: -781575266 + UI_82: 665499237 + UI_97: 637485269 + UI_6: 1630869900 + UI_108: -174312758 + UI_80: 228703996 + UI_31: -839765392 + UI_85: 1687071705 + UI_61: 883880441 + UI_81: 533908909 + UI_4: -855377741 + UI_28: -658456667 + UI_33: 395696782 + UI_54: 1413734834 + UI_101: 682832052 + UI_110: 1134416061 + UI_90: 983722146 + UI_94: -456378940 + UI_30: 1402496493 + UI_45: 1609669747 + UI_9: 357128971 + UI_32: 1182993044 + UI_111: 605103416 + UI_13: 1066529205 + UI_23: -1914147649 + UI_103: -33774593 + UI_44: 1101832619 + UI_48: 822476254 + UI_16: 353681348 + UI_47: -2068790479 + UI_65: 1755526335 + UI_52: -621942135 + UI_95: -520437884 + UI_14: 557790731 + UI_57: 1497186304 + UI_79: -1251973793 + UI_37: -930657763 + UI_99: -1553314805 + UI_77: 907603212 spritePackingTag: pSDRemoveMatte: 0 pSDShowRemoveMatteOption: 0 diff --git a/Assets/Sprites/border.aseprite b/Assets/Sprites/border.aseprite new file mode 100644 index 0000000..c6e7ede Binary files /dev/null and b/Assets/Sprites/border.aseprite differ diff --git a/Assets/Sprites/border.aseprite.meta b/Assets/Sprites/border.aseprite.meta new file mode 100644 index 0000000..057715b --- /dev/null +++ b/Assets/Sprites/border.aseprite.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8f8724c83a8b52243a67998d11454566 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/border.png b/Assets/Sprites/border.png new file mode 100644 index 0000000..94c4dbf Binary files /dev/null and b/Assets/Sprites/border.png differ diff --git a/Assets/Sprites/border.png.meta b/Assets/Sprites/border.png.meta new file mode 100644 index 0000000..8d44fba --- /dev/null +++ b/Assets/Sprites/border.png.meta @@ -0,0 +1,135 @@ +fileFormatVersion: 2 +guid: 750dd96bbe7b2ef49a0e27f68ce9c1c4 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + 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 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 0 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 16 + 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 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 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 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 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 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: