diff --git a/Assets/Scenes/GameScene.unity b/Assets/Scenes/GameScene.unity index 4575dc7..c470521 100644 --- a/Assets/Scenes/GameScene.unity +++ b/Assets/Scenes/GameScene.unity @@ -871,6 +871,10 @@ PrefabInstance: propertyPath: Volume value: 0.25 objectReference: {fileID: 0} + - target: {fileID: 5150961666696654592, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5150961666696654592, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3} propertyPath: StepInterval value: 1 @@ -1363,6 +1367,10 @@ PrefabInstance: propertyPath: Volume value: 0.25 objectReference: {fileID: 0} + - target: {fileID: 1691493459240420355, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} - target: {fileID: 1691493459240420355, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3} propertyPath: StepInterval value: 1 diff --git a/Assets/Scripts/UI/PauseMenu.cs b/Assets/Scripts/UI/PauseMenu.cs index 843578d..c618ee3 100644 --- a/Assets/Scripts/UI/PauseMenu.cs +++ b/Assets/Scripts/UI/PauseMenu.cs @@ -51,21 +51,8 @@ public class PauseMenu : MonoBehaviour { MainMenu(); } - } - if (!isPaused) - break; - - if (controller.crossButton.IsPressed()) - { - ResumeGame(); - } - if (controller.circleButton.IsPressed()) - { - QuitGame(); - } - if (controller.squareButton.IsPressed()) - { - MainMenu(); + if (!isPaused) + break; } }