feature: Added menu functionality

This commit is contained in:
Gerard Gascón 2024-01-28 12:36:32 +01:00
parent 3b730311fc
commit 38c0bcaef4
9 changed files with 134 additions and 247 deletions

View file

@ -136,6 +136,7 @@ GameObject:
- component: {fileID: 19625094}
- component: {fileID: 19625093}
- component: {fileID: 19625097}
- component: {fileID: 19625098}
m_Layer: 5
m_Name: WinCanvas
m_TagString: Untagged
@ -236,9 +237,24 @@ CanvasGroup:
m_GameObject: {fileID: 19625092}
m_Enabled: 1
m_Alpha: 0
m_Interactable: 0
m_BlocksRaycasts: 1
m_Interactable: 1
m_BlocksRaycasts: 0
m_IgnoreParentGroups: 0
--- !u!114 &19625098
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 19625092}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3ab69031478b416bb744d340062beae1, type: 3}
m_Name:
m_EditorClassIdentifier:
canvasGroup: {fileID: 19625097}
winBackground: {fileID: 1957919960}
winText: {fileID: 1331759576}
--- !u!1 &23275625
GameObject:
m_ObjectHideFlags: 0
@ -2647,11 +2663,11 @@ RectTransform:
m_Children: []
m_Father: {fileID: 361312882}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 175, y: -115}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -2.5, y: 7.5}
m_SizeDelta: {x: 125, y: 25}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1331759577
MonoBehaviour:
m_ObjectHideFlags: 0
@ -2806,7 +2822,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
bar: {fileID: 843204721}
numberToWin: 10
numberToWin: 5
--- !u!1 &1488949019
GameObject:
m_ObjectHideFlags: 0
@ -3894,11 +3910,11 @@ RectTransform:
m_Children: []
m_Father: {fileID: 361312882}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 155, y: -85}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 7.5, y: 3}
m_SizeDelta: {x: 185, y: 94}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1957919961
MonoBehaviour:
m_ObjectHideFlags: 0