Instance: Pause Menu Instance
isPaused: Returns Game Pause State
TogglePause()Toggle the game state: unpause if paused, pause if unpaused.
TogglePause()
Toggle the game state: unpause if paused, pause if unpaused.
Pause()Pauses the game.
Pause()
Pauses the game.
UnPause()Resume the game.
UnPause()
Resume the game.
LoadScene(int id)Load a new Scene.id: ID of the Scene to build in the Build Settings
LoadScene(int id)
Load a new Scene.
id: ID of the Scene to build in the Build Settings
Last updated 6 months ago