PauseMenu

  • Instance: Pause Menu Instance

  • isPaused: Returns Game Pause State

TogglePause()

Toggle the game state: unpause if paused, pause if unpaused.

Pause()

Pauses the game.

UnPause()

Resume the game.

LoadScene(int id)

Load a new Scene.

  • id: ID of the Scene to build in the Build Settings

Last updated