[Add] Menu with configs and size fix

This commit is contained in:
2026-06-06 23:48:55 +07:00
parent 7104089c00
commit a9767c5301
29 changed files with 453 additions and 153 deletions
+6 -6
View File
@@ -35,7 +35,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -15, y: -15}
m_SizeDelta: {x: -8, y: -8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3798432596530835849
GameObject:
@@ -162,7 +162,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 30, y: 30}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4574882275002937660
CanvasRenderer:
@@ -219,12 +219,12 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 54.6
m_fontSize: 35.8
m_fontSizeBase: 15
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontSizeMin: 1
m_fontSizeMax: 300
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
@@ -258,7 +258,7 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 2, y: 2, z: 2, w: 2}
m_margin: {x: 1, y: 1, z: 1, w: 1}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
+39 -21
View File
@@ -428,7 +428,7 @@ GameObject:
- component: {fileID: 2154271443323945884}
- component: {fileID: 6204093840248163070}
m_Layer: 5
m_Name: Text (Mine) (1)
m_Name: Text (Max)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -722,10 +722,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 6299792064077961574}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 250, y: 48}
m_SizeDelta: {x: 0, y: 48}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &7925194886356738603
CanvasRenderer:
@@ -996,10 +996,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 4947738170035721252}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 250, y: 48}
m_SizeDelta: {x: 0, y: 48}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &4764443876518541376
CanvasRenderer:
@@ -1208,10 +1208,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 8549637007489853463}
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: 0, y: 0}
m_SizeDelta: {x: 250, y: 48}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 1}
m_SizeDelta: {x: 0, y: 48}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &929277193634291900
CanvasRenderer:
@@ -1421,8 +1421,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -391, y: -192}
m_SizeDelta: {x: -20, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3877081085258266573
GameObject:
@@ -1609,7 +1609,7 @@ GameObject:
- component: {fileID: 7567565223110830849}
- component: {fileID: 3264166992253475585}
m_Layer: 5
m_Name: Text (Mine)
m_Name: Text (Min)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -2028,8 +2028,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -391, y: -192}
m_SizeDelta: {x: -20, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &6455657920195163342
GameObject:
@@ -2068,7 +2068,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -21}
m_SizeDelta: {x: -120, y: -162}
m_SizeDelta: {x: -150, y: -162}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &6446935312079034905
MonoBehaviour:
@@ -2420,8 +2420,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 57
m_fontSizeBase: 57
m_fontSize: 54
m_fontSizeBase: 54
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -2664,6 +2664,24 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::Minesweeper.Presentation.Views.MainMenuView
root: {fileID: 7682962739562644362}
startButton: {fileID: 3904309382312306706}
sizeXSlider:
slider: {fileID: 2334871180416613717}
minText: {fileID: 4504773017523582976}
maxText: {fileID: 6866883084726833735}
valueText: {fileID: 4474316482196456833}
valueLabel: 'Size X:'
sizeYSlider:
slider: {fileID: 4051923562216906313}
minText: {fileID: 1453579952739003993}
maxText: {fileID: 8013579874201281113}
valueText: {fileID: 8926983590126121119}
valueLabel: 'Size Y:'
minesSlider:
slider: {fileID: 6456819381917595383}
minText: {fileID: 3264166992253475585}
maxText: {fileID: 6204093840248163070}
valueText: {fileID: 7868341748139096968}
valueLabel: 'Mines count:'
--- !u!1 &7723311763242053893
GameObject:
m_ObjectHideFlags: 0
@@ -2847,8 +2865,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -391, y: -192}
m_SizeDelta: {x: -20, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &8648434963355287167
GameObject: