Skip to content

Instantly share code, notes, and snippets.

View Zapafaz's full-sized avatar

Adam F. Wight Zapafaz

View GitHub Profile
// Pause the game and show the pause menu
void Pause()
{
isPaused = true;
Time.timeScale = 0.0F;
menuCanvas.enabled = true;
}
// Unpause the game and hide the pause menu
void Continue()

Keybase proof

I hereby claim:

  • I am zapafaz on github.
  • I am zapafaz (https://keybase.io/zapafaz) on keybase.
  • I have a public key ASBP2LTq8j7yDQw6RxNJwz4ijOj2wMHrQurxA5QDvJ_hlAo

To claim this, I am signing this object: