Fixed errors
This commit is contained in:
parent
4505d4e73d
commit
eb6f1dd61f
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue