Skip to content

Instantly share code, notes, and snippets.


Adam F. Wight Zapafaz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am zapafaz on github.
  • I am zapafaz ( on keybase.
  • I have a public key ASBP2LTq8j7yDQw6RxNJwz4ijOj2wMHrQurxA5QDvJ_hlAo

To claim this, I am signing this object:

View lame-o-pause
// 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()
You can’t perform that action at this time.