Updates to the level switcher UI menu, making it much larger

This commit is contained in:
Michal Pikulski
2025-10-28 16:04:44 +01:00
parent 43779c560e
commit b56524f1f2
7 changed files with 1344 additions and 235 deletions

View File

@@ -37,7 +37,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 160, y: 55}
m_SizeDelta: {x: 250, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2968163887214456956
CanvasRenderer:
@@ -159,7 +159,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 200, y: 70}
m_SizeDelta: {x: 300, y: 120}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7346691780247132469
CanvasRenderer:
@@ -275,10 +275,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 5455602294483642302}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 5.937, y: -142}
m_SizeDelta: {x: 373.3741, y: 143.5118}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 23, y: -121}
m_SizeDelta: {x: -224.8314, y: 307.8118}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &2667865570943019976
CanvasRenderer:
@@ -335,8 +335,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 48.93
m_fontSizeBase: 48.93
m_fontSize: 75
m_fontSizeBase: 75
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -471,8 +471,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontSize: 75
m_fontSizeBase: 75
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -685,10 +685,10 @@ RectTransform:
- {fileID: 1936850923066780126}
m_Father: {fileID: 7944572313058047776}
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_AnchorMin: {x: 0.3, y: 0.25}
m_AnchorMax: {x: 0.7, y: 0.75}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 518.0879, y: 515.5193}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6366784497255586293
CanvasRenderer:
@@ -820,8 +820,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontSize: 75
m_fontSizeBase: 75
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -956,8 +956,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontSize: 75
m_fontSizeBase: 75
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -1037,7 +1037,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 200, y: 70}
m_SizeDelta: {x: 300, y: 120}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5099743798024819687
CanvasRenderer:
@@ -1289,8 +1289,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -143.8842}
m_SizeDelta: {x: 200, y: 0}
m_AnchoredPosition: {x: 0, y: -220}
m_SizeDelta: {x: 300, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!114 &7837377403463588530
MonoBehaviour:
@@ -1343,6 +1343,7 @@ GameObject:
- component: {fileID: 7194927419615479525}
- component: {fileID: 1753893934695849507}
- component: {fileID: 1771752906241960760}
- component: {fileID: 4665108827297585533}
m_Layer: 0
m_Name: Image
m_TagString: Untagged
@@ -1364,10 +1365,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 3686333298923614919}
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.00036621, y: 50}
m_SizeDelta: {x: 200, y: 200}
m_AnchorMin: {x: 0.3, y: 0.3}
m_AnchorMax: {x: 0.7, y: 0.8}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1753893934695849507
CanvasRenderer:
@@ -1407,6 +1408,20 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &4665108827297585533
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4742281733727818294}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 86710e43de46f6f4bac7c8e50813a599, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.AspectRatioFitter
m_AspectMode: 2
m_AspectRatio: 1
--- !u!1 &4999207970003242284
GameObject:
m_ObjectHideFlags: 0
@@ -1443,7 +1458,7 @@ RectTransform:
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: 96}
m_AnchoredPosition: {x: 0, y: 104}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0}
--- !u!114 &230322516859144723
@@ -1523,7 +1538,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 160, y: 55}
m_SizeDelta: {x: 250, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6779017702749071
CanvasRenderer:
@@ -1747,7 +1762,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 142.2086, y: 48.8842}
m_SizeDelta: {x: 200, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &269258005419161547
CanvasRenderer:
@@ -1863,11 +1878,11 @@ RectTransform:
m_Children: []
m_Father: {fileID: 3686333298923614919}
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.00036621, y: 203}
m_SizeDelta: {x: 453.1976, y: 55.416}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -116}
m_SizeDelta: {x: 0, y: 104.8042}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &5316188293517483191
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -1923,13 +1938,13 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 71.4
m_fontSizeBase: 71.4
m_fontSize: 100
m_fontSizeBase: 100
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
@@ -2003,7 +2018,7 @@ RectTransform:
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: 85}
m_AnchoredPosition: {x: 0, y: 125}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0}
--- !u!114 &4213333726324520130
@@ -2138,8 +2153,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontSize: 75
m_fontSizeBase: 75
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -2217,8 +2232,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -83.974, y: -65}
m_SizeDelta: {x: 75, y: 75}
m_AnchoredPosition: {x: -211, y: -130.9}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 1, y: 1}
--- !u!222 &3451490436647349682
CanvasRenderer:
@@ -2338,10 +2353,10 @@ RectTransform:
- {fileID: 1276418098601182851}
m_Father: {fileID: 7944572313058047776}
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_AnchorMin: {x: 0.1, y: 0.1}
m_AnchorMax: {x: 0.9, y: 0.9}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 771.14624, y: 709.1494}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7246575027024042771
CanvasRenderer: