From 49e45e6378242d5255edd738b37ad7e350e921df Mon Sep 17 00:00:00 2001 From: Adam Szi Date: Tue, 26 Nov 2019 17:35:17 +0100 Subject: [PATCH] added pause panel --- Assets/Resources/level_01.json | 14 +- Assets/Resources/level_01.json.meta | 2 +- Assets/Resources/level_02.json | 74 ++ .../{test_01.json.meta => level_02.json.meta} | 2 +- Assets/Resources/test_01.json | 7 - Assets/Scripts/GameInitializer.cs | 12 +- Assets/Scripts/GamePlayController.cs | 12 + Assets/Scripts/LevelSelector.cs | 5 + Assets/Scripts/MapLoader.cs | 9 +- Assets/Scripts/PaddleController.cs | 2 +- Assets/_Scenes/GameScene.unity | 1053 +++++++++++++++-- Assets/_Scenes/MainMenu.unity | 3 +- 12 files changed, 1085 insertions(+), 110 deletions(-) create mode 100644 Assets/Resources/level_02.json rename Assets/Resources/{test_01.json.meta => level_02.json.meta} (75%) delete mode 100644 Assets/Resources/test_01.json diff --git a/Assets/Resources/level_01.json b/Assets/Resources/level_01.json index 1a17dc4..181296c 100644 --- a/Assets/Resources/level_01.json +++ b/Assets/Resources/level_01.json @@ -7,7 +7,7 @@ { "type": 0, "x": -3, "y": 4, "hitPoints": 3, "color": "#2d3258", "powerUp": { "name": "SpawnExtraBall", "duration": 0 } }, { "type": 0, "x": -2, "y": 4, "hitPoints": 1, "color": "#2d3258" }, { "type": 0, "x": -1, "y": 4, "hitPoints": 1, "color": "#2d3258" }, - { "type": 0, "x": 0, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 0, "y": 4, "hitPoints": 0, "color": "#2d3258" }, { "type": 0, "x": 1, "y": 4, "hitPoints": 1, "color": "#2d3258" }, { "type": 0, "x": 2, "y": 4, "hitPoints": 1, "color": "#2d3258" }, { "type": 0, "x": 3, "y": 4, "hitPoints": 3, "color": "#2d3258", "powerUp": { "name": "SpawnExtraBall", "duration": 0 } }, @@ -19,11 +19,11 @@ { "type": 0, "x": -5, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": -4, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": -3, "y": 5, "hitPoints": 1, "color": "#304b78" }, - { "type": 0, "x": -2, "y": 5, "hitPoints": 0, "color": "#304b78" }, + { "type": 0, "x": -2, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": -1, "y": 5, "hitPoints": 1, "color": "#304b78" }, - { "type": 0, "x": 0, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 0, "y": 5, "hitPoints": 0, "color": "#304b78" }, { "type": 0, "x": 1, "y": 5, "hitPoints": 1, "color": "#304b78" }, - { "type": 0, "x": 2, "y": 5, "hitPoints": 0, "color": "#304b78" }, + { "type": 0, "x": 2, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": 3, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": 4, "y": 5, "hitPoints": 1, "color": "#304b78" }, { "type": 0, "x": 5, "y": 5, "hitPoints": 1, "color": "#304b78" }, @@ -34,9 +34,9 @@ { "type": 0, "x": -4, "y": 6, "hitPoints": 1, "color": "#2494a2" }, { "type": 0, "x": -3, "y": 6, "hitPoints": 1, "color": "#2494a2" }, { "type": 0, "x": -2, "y": 6, "hitPoints": 1, "color": "#2494a2" }, - { "type": 0, "x": -1, "y": 6, "hitPoints": 0, "color": "#2494a2" }, - { "type": 0, "x": 0, "y": 6, "hitPoints": 1, "color": "#2494a2" }, - { "type": 0, "x": 1, "y": 6, "hitPoints": 0, "color": "#2494a2" }, + { "type": 0, "x": -1, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": 0, "y": 6, "hitPoints": 0, "color": "#2494a2" }, + { "type": 0, "x": 1, "y": 6, "hitPoints": 1, "color": "#2494a2" }, { "type": 0, "x": 2, "y": 6, "hitPoints": 1, "color": "#2494a2" }, { "type": 0, "x": 3, "y": 6, "hitPoints": 1, "color": "#2494a2" }, { "type": 0, "x": 4, "y": 6, "hitPoints": 1, "color": "#2494a2" }, diff --git a/Assets/Resources/level_01.json.meta b/Assets/Resources/level_01.json.meta index dc0c3b7..1d9d86a 100644 --- a/Assets/Resources/level_01.json.meta +++ b/Assets/Resources/level_01.json.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: a254d607ea8594b57b0b98c08277e21c +guid: 2633f4ad73d7b4d8b84d765ee78bc68c TextScriptImporter: externalObjects: {} userData: diff --git a/Assets/Resources/level_02.json b/Assets/Resources/level_02.json new file mode 100644 index 0000000..1a17dc4 --- /dev/null +++ b/Assets/Resources/level_02.json @@ -0,0 +1,74 @@ +{ + "name": "level_01", + "map": [ + { "type": 0, "x": -6, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": -5, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": -4, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": -3, "y": 4, "hitPoints": 3, "color": "#2d3258", "powerUp": { "name": "SpawnExtraBall", "duration": 0 } }, + { "type": 0, "x": -2, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": -1, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 0, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 1, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 2, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 3, "y": 4, "hitPoints": 3, "color": "#2d3258", "powerUp": { "name": "SpawnExtraBall", "duration": 0 } }, + { "type": 0, "x": 4, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 5, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + { "type": 0, "x": 6, "y": 4, "hitPoints": 1, "color": "#2d3258" }, + + { "type": 0, "x": -6, "y": 5, "hitPoints": 1, "color": "#304b78", "powerUp": { "name": "ShrinkPaddle", "duration": 10 } }, + { "type": 0, "x": -5, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": -4, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": -3, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": -2, "y": 5, "hitPoints": 0, "color": "#304b78" }, + { "type": 0, "x": -1, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 0, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 1, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 2, "y": 5, "hitPoints": 0, "color": "#304b78" }, + { "type": 0, "x": 3, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 4, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 5, "y": 5, "hitPoints": 1, "color": "#304b78" }, + { "type": 0, "x": 6, "y": 5, "hitPoints": 1, "color": "#304b78", "powerUp": { "name": "GrowPaddle", "duration": 10 } }, + + { "type": 0, "x": -6, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": -5, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": -4, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": -3, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": -2, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": -1, "y": 6, "hitPoints": 0, "color": "#2494a2" }, + { "type": 0, "x": 0, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": 1, "y": 6, "hitPoints": 0, "color": "#2494a2" }, + { "type": 0, "x": 2, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": 3, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": 4, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + { "type": 0, "x": 5, "y": 6, "hitPoints": 1, "color": "#2494a2", "powerUp": { "name": "ExtraBall", "duration": 0 } }, + { "type": 0, "x": 6, "y": 6, "hitPoints": 1, "color": "#2494a2" }, + + { "type": 0, "x": -6, "y": 7, "hitPoints": 0, "color": "#56bca4" }, + { "type": 0, "x": -5, "y": 7, "hitPoints": 2, "color": "#56bca4" }, + { "type": 0, "x": -4, "y": 7, "hitPoints": 1, "color": "#56bca4" }, + { "type": 0, "x": -3, "y": 7, "hitPoints": 1, "color": "#56bca4" }, + { "type": 0, "x": -2, "y": 7, "hitPoints": 2, "color": "#56bca4" }, + { "type": 0, "x": -1, "y": 7, "hitPoints": 2, "color": "#56bca4", "powerUp": { "name": "BallSpeedDown", "duration": 15 } }, + { "type": 0, "x": 0, "y": 7, "hitPoints": 0, "color": "#56bca4" }, + { "type": 0, "x": 1, "y": 7, "hitPoints": 2, "color": "#56bca4", "powerUp": { "name": "BallSpeedUp", "duration": 15 } }, + { "type": 0, "x": 2, "y": 7, "hitPoints": 2, "color": "#56bca4" }, + { "type": 0, "x": 3, "y": 7, "hitPoints": 1, "color": "#56bca4" }, + { "type": 0, "x": 4, "y": 7, "hitPoints": 1, "color": "#56bca4" }, + { "type": 0, "x": 5, "y": 7, "hitPoints": 2, "color": "#56bca4" }, + { "type": 0, "x": 6, "y": 7, "hitPoints": 0, "color": "#56bca4" }, + + { "type": 0, "x": -6, "y": 8, "hitPoints": 0, "color": "#ddb03b" }, + { "type": 0, "x": -5, "y": 8, "hitPoints": 0, "color": "#ddb03b" }, + { "type": 0, "x": -4, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": -3, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": -2, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": -1, "y": 8, "hitPoints": 2, "color": "#ddb03b" }, + { "type": 0, "x": 0, "y": 8, "hitPoints": 2, "color": "#ddb03b", "powerUp": { "name": "PiercingBall", "duration": 10 } }, + { "type": 0, "x": 1, "y": 8, "hitPoints": 2, "color": "#ddb03b" }, + { "type": 0, "x": 2, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": 3, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": 4, "y": 8, "hitPoints": 1, "color": "#ddb03b" }, + { "type": 0, "x": 5, "y": 8, "hitPoints": 0, "color": "#ddb03b" }, + { "type": 0, "x": 6, "y": 8, "hitPoints": 0, "color": "#ddb03b" } + ] +} \ No newline at end of file diff --git a/Assets/Resources/test_01.json.meta b/Assets/Resources/level_02.json.meta similarity index 75% rename from Assets/Resources/test_01.json.meta rename to Assets/Resources/level_02.json.meta index 157bc10..dc0c3b7 100644 --- a/Assets/Resources/test_01.json.meta +++ b/Assets/Resources/level_02.json.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1868c52f55c014dcfbd1024cbda2acc6 +guid: a254d607ea8594b57b0b98c08277e21c TextScriptImporter: externalObjects: {} userData: diff --git a/Assets/Resources/test_01.json b/Assets/Resources/test_01.json deleted file mode 100644 index 1a5aac2..0000000 --- a/Assets/Resources/test_01.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "level_01", - "map": [ - { "type": 0, "x": 1, "y": 8, "hitPoints": 1, "color": "#ddb03b", "powerUp": { "name": "BallSpeedUp", "duration": 15 } }, - { "type": 0, "x": 0, "y": 8, "hitPoints": 1, "color": "#ddb03b", "powerUp": { "name": "BallSpeedUp", "duration": 15 } } - ] -} \ No newline at end of file diff --git a/Assets/Scripts/GameInitializer.cs b/Assets/Scripts/GameInitializer.cs index 0fcba3b..1878af9 100644 --- a/Assets/Scripts/GameInitializer.cs +++ b/Assets/Scripts/GameInitializer.cs @@ -31,12 +31,16 @@ private void Awake() { string[] userLevelPathList = Directory.GetFiles(absoluteGameFolderPath); foreach(string path in userLevelPathList) { - TextAsset asset = new TextAsset(ReadJsonFromFile(path)); - string[] parts = path.Split(Path.DirectorySeparatorChar); - asset.name = parts[parts.Length - 1]; - GameState.userLevels.Add(asset); + string fileName = parts[parts.Length - 1]; + fileName = fileName.Substring(0, fileName.Length - 5); + + if (fileName != userLevelTemplate.name) { + TextAsset asset = new TextAsset(ReadJsonFromFile(path)); + asset.name = fileName; + GameState.userLevels.Add(asset); + } } } diff --git a/Assets/Scripts/GamePlayController.cs b/Assets/Scripts/GamePlayController.cs index 9b658cf..622b377 100644 --- a/Assets/Scripts/GamePlayController.cs +++ b/Assets/Scripts/GamePlayController.cs @@ -5,10 +5,12 @@ public class GamePlayController : MonoBehaviour { public PaddleController playerController; public GameObject winScreen; public GameObject loseScreen; + public GameObject pausePanel; private void Awake() { winScreen.SetActive(false); loseScreen.SetActive(false); + pausePanel.SetActive(false); } public void ShowWinScreen() { @@ -23,6 +25,16 @@ public void ShowGameOverScreen() { loseScreen.SetActive(true); } + public void PauseGame() { + Time.timeScale = 0f; + pausePanel.SetActive(true); + } + + public void ResumeGame() { + pausePanel.SetActive(false); + Time.timeScale = 1f; + } + public void Replay() { SceneManager.LoadScene("GameScene"); } diff --git a/Assets/Scripts/LevelSelector.cs b/Assets/Scripts/LevelSelector.cs index c6c3b31..33545b6 100644 --- a/Assets/Scripts/LevelSelector.cs +++ b/Assets/Scripts/LevelSelector.cs @@ -21,6 +21,11 @@ private void Awake() { PlaceButton(NextPos(i), () => this.SelectLevel(lvl), lvl.name); i++; } + foreach(TextAsset lvl in GameState.userLevels) { + PlaceButton(NextPos(i), () => this.SelectLevel(lvl), lvl.name); + i++; + } + PlaceButton(NextPos(i) + Vector3.down * btnHeight, backToMainMenu.Invoke, "Back"); diff --git a/Assets/Scripts/MapLoader.cs b/Assets/Scripts/MapLoader.cs index 0ff971b..4f004bc 100644 --- a/Assets/Scripts/MapLoader.cs +++ b/Assets/Scripts/MapLoader.cs @@ -1,6 +1,5 @@ -using System.IO; using System.Collections.Generic; -using System; +using UnityEngine.SceneManagement; using UnityEngine; public class MapLoader : MonoBehaviour { @@ -10,6 +9,7 @@ public class MapLoader : MonoBehaviour { private Dictionary powerupMap; public void Awake() { + Time.timeScale = 1f; BrickController.brickList = new List(); powerupMap = MapPowerUps(powerupList); Level level = JsonUtility.FromJson(GameState.selectedLevel); @@ -25,6 +25,11 @@ public static Dictionary MapPowerUps(List } private void Load(Level level) { + if (level == null || level.map == null) { + SceneManager.LoadScene("MainMenu"); + return; + } + foreach (Brick brick in level.map) { SpawnBrick(brick); } diff --git a/Assets/Scripts/PaddleController.cs b/Assets/Scripts/PaddleController.cs index d383bf6..54107b7 100644 --- a/Assets/Scripts/PaddleController.cs +++ b/Assets/Scripts/PaddleController.cs @@ -38,7 +38,7 @@ private void Awake() { private void Update() { if (gameOver) return; - if (Input.GetButtonUp("Cancel")) SceneManager.LoadScene("MainMenu"); + if (Input.GetButtonUp("Cancel")) _gameController.PauseGame(); this.x = Input.GetAxis("Horizontal"); Move(); diff --git a/Assets/_Scenes/GameScene.unity b/Assets/_Scenes/GameScene.unity index cfdbf84..38c9545 100644 --- a/Assets/_Scenes/GameScene.unity +++ b/Assets/_Scenes/GameScene.unity @@ -156,6 +156,7 @@ RectTransform: m_Children: - {fileID: 1717548937} - {fileID: 1668429413} + - {fileID: 41608359} m_Father: {fileID: 203863488} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -179,6 +180,7 @@ MonoBehaviour: playerController: {fileID: 319797633} winScreen: {fileID: 1717548936} loseScreen: {fileID: 1668429412} + pausePanel: {fileID: 41608358} --- !u!1001 &19343819 PrefabInstance: m_ObjectHideFlags: 0 @@ -254,6 +256,83 @@ Transform: type: 3} m_PrefabInstance: {fileID: 530877425} m_PrefabAsset: {fileID: 0} +--- !u!1 &41608358 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 41608359} + - component: {fileID: 41608361} + - component: {fileID: 41608360} + m_Layer: 5 + m_Name: PauseMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &41608359 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 41608358} + 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_Children: + - {fileID: 821776002} + - {fileID: 1257455502} + - {fileID: 1027375897} + - {fileID: 864916316} + m_Father: {fileID: 19186769} + 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!114 &41608360 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 41608358} + 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.50980395} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + 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 &41608361 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 41608358} + m_CullTransparentMesh: 0 --- !u!1001 &53065604 PrefabInstance: m_ObjectHideFlags: 0 @@ -728,7 +807,7 @@ RectTransform: m_Children: - {fileID: 937691867} m_Father: {fileID: 1668429413} - m_RootOrder: 2 + 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} @@ -3050,6 +3129,161 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, type: 3} +--- !u!1 &760974479 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 760974480} + - component: {fileID: 760974482} + - component: {fileID: 760974481} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &760974480 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 760974479} + 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_Children: [] + m_Father: {fileID: 821776002} + 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: 0, y: 0} + m_SizeDelta: {x: 600, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &760974481 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 760974479} + 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_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Paused + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2100000, guid: e73a58f6e2794ae7b1b7e50b7fb811b0, 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_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 50 + m_fontSizeBase: 50 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 1 + m_textAlignment: 514 + 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_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_textInfo: + textComponent: {fileID: 760974481} + characterCount: 6 + spriteCount: 0 + spaceCount: 0 + wordCount: 1 + linkCount: 0 + lineCount: 1 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &760974482 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 760974479} + m_CullTransparentMesh: 0 --- !u!4 &777141232 stripped Transform: m_CorrespondingSourceObject: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, @@ -3207,57 +3441,131 @@ Transform: type: 3} m_PrefabInstance: {fileID: 912376569} m_PrefabAsset: {fileID: 0} ---- !u!1001 &830039130 -PrefabInstance: +--- !u!1 &821776001 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 697650381} - m_Modifications: - - target: {fileID: 3078983048576248637, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_Name - value: brick_white - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalPosition.x - value: -96 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, - type: 3} - propertyPath: m_RootOrder - value: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 821776002} + - component: {fileID: 821776004} + - component: {fileID: 821776003} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &821776002 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 821776001} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.0000132, y: 1.0000132, z: 1.0000132} + m_Children: + - {fileID: 760974480} + m_Father: {fileID: 41608359} + 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: 0, y: 250} + m_SizeDelta: {x: 800, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &821776003 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 821776001} + 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.21698111, g: 0.21698111, b: 0.21698111, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + 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 &821776004 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 821776001} + m_CullTransparentMesh: 0 +--- !u!1001 &830039130 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 697650381} + m_Modifications: + - target: {fileID: 3078983048576248637, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_Name + value: brick_white + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalPosition.x + value: -96 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_RootOrder + value: 0 objectReference: {fileID: 0} - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, type: 3} @@ -3467,6 +3775,196 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, type: 3} +--- !u!1001 &864916315 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 41608359} + m_Modifications: + - target: {fileID: 2337395730489962001, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Name + value: BackButton + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.y + value: -150 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.x + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.y + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.z + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 19186770} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: BackToMainMenu + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_text + value: Main Menu + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.spaceCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} +--- !u!224 &864916316 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + m_PrefabInstance: {fileID: 864916315} + m_PrefabAsset: {fileID: 0} --- !u!1001 &912376569 PrefabInstance: m_ObjectHideFlags: 0 @@ -3788,53 +4286,243 @@ PrefabInstance: propertyPath: m_LocalPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_RootOrder + value: 10 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, type: 3} +--- !u!1001 &1027375896 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 41608359} + m_Modifications: + - target: {fileID: 2337395730489962001, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Name + value: ReplayButton + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_SizeDelta.y + value: 80 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.x + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.y + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.z + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalPosition.z - value: 0 + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalRotation.x - value: -0 + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalRotation.y - value: -0 + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 19186770} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: Replay objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalRotation.z - value: -0 + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalRotation.w - value: 1 + propertyPath: m_text + value: Try again objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_RootOrder - value: 10 + propertyPath: m_textInfo.characterCount + value: 0 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalEulerAnglesHint.x + propertyPath: m_textInfo.wordCount value: 0 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalEulerAnglesHint.y + propertyPath: m_textInfo.lineCount value: 0 objectReference: {fileID: 0} - - target: {fileID: 6175690227957168618, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} - propertyPath: m_LocalEulerAnglesHint.z + propertyPath: m_textInfo.pageCount value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 241fcd4e9cc2c43fdab80e3fc41d4d7c, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} +--- !u!224 &1027375897 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + m_PrefabInstance: {fileID: 1027375896} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1038824252 PrefabInstance: m_ObjectHideFlags: 0 @@ -4381,6 +5069,201 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1858270703} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1257455501 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 41608359} + m_Modifications: + - target: {fileID: 2337395730489962001, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Name + value: ResumeButton + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_SizeDelta.y + value: 80 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_AnchoredPosition.y + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.x + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.y + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_LocalScale.z + value: 1.0000132 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 19186770} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: ResumeGame + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962009, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_text + value: Resume + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.characterCount + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.wordCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.lineCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.pageCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + propertyPath: m_textInfo.spaceCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} +--- !u!224 &1257455502 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, + type: 3} + m_PrefabInstance: {fileID: 1257455501} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1279020680 PrefabInstance: m_ObjectHideFlags: 0 @@ -5297,7 +6180,7 @@ RectTransform: m_Children: - {fileID: 2052486294} m_Father: {fileID: 1717548937} - m_RootOrder: 2 + 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} @@ -5369,9 +6252,9 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 1720974053} - - {fileID: 2080080307} - {fileID: 148067714} + - {fileID: 2080080307} + - {fileID: 1720974053} m_Father: {fileID: 19186769} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -5526,9 +6409,9 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: + - {fileID: 1645594085} - {fileID: 7223457752830116782} - {fileID: 1748978299} - - {fileID: 1645594085} m_Father: {fileID: 19186769} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -5623,7 +6506,7 @@ PrefabInstance: - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} propertyPath: m_RootOrder - value: 0 + value: 2 objectReference: {fileID: 0} - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} @@ -5980,7 +6863,7 @@ PrefabInstance: - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} propertyPath: m_RootOrder - value: 1 + value: 2 objectReference: {fileID: 0} - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} @@ -7244,7 +8127,7 @@ PrefabInstance: - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} propertyPath: m_text - value: Replay + value: Try again objectReference: {fileID: 0} - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} @@ -7670,7 +8553,7 @@ PrefabInstance: - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} propertyPath: m_RootOrder - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2337395730489962005, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} @@ -7765,7 +8648,7 @@ PrefabInstance: - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} propertyPath: m_text - value: Replay + value: Try again objectReference: {fileID: 0} - target: {fileID: 2337395730489962011, guid: 6bf17a87b50ea4b7bb99646caa791068, type: 3} diff --git a/Assets/_Scenes/MainMenu.unity b/Assets/_Scenes/MainMenu.unity index b7abb68..dd9cab3 100644 --- a/Assets/_Scenes/MainMenu.unity +++ b/Assets/_Scenes/MainMenu.unity @@ -577,9 +577,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: storyLevels: + - {fileID: 4900000, guid: 2633f4ad73d7b4d8b84d765ee78bc68c, type: 3} - {fileID: 4900000, guid: a254d607ea8594b57b0b98c08277e21c, type: 3} - - {fileID: 4900000, guid: 839136d2cee91476b8fb7658bae8738c, type: 3} - - {fileID: 4900000, guid: 1868c52f55c014dcfbd1024cbda2acc6, type: 3} userLevelTemplate: {fileID: 4900000, guid: 839136d2cee91476b8fb7658bae8738c, type: 3} --- !u!1 &1616347036 GameObject: