Fixed errors

This commit is contained in:
BOT Alex 2024-02-04 23:21:17 +01:00
parent 4505d4e73d
commit eb6f1dd61f
2 changed files with 10 additions and 15 deletions

View File

@ -871,6 +871,10 @@ PrefabInstance:
propertyPath: Volume propertyPath: Volume
value: 0.25 value: 0.25
objectReference: {fileID: 0} 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} - target: {fileID: 5150961666696654592, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3}
propertyPath: StepInterval propertyPath: StepInterval
value: 1 value: 1
@ -1363,6 +1367,10 @@ PrefabInstance:
propertyPath: Volume propertyPath: Volume
value: 0.25 value: 0.25
objectReference: {fileID: 0} 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} - target: {fileID: 1691493459240420355, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3}
propertyPath: StepInterval propertyPath: StepInterval
value: 1 value: 1

View File

@ -51,21 +51,8 @@ public class PauseMenu : MonoBehaviour
{ {
MainMenu(); MainMenu();
} }
} if (!isPaused)
if (!isPaused) break;
break;
if (controller.crossButton.IsPressed())
{
ResumeGame();
}
if (controller.circleButton.IsPressed())
{
QuitGame();
}
if (controller.squareButton.IsPressed())
{
MainMenu();
} }
} }