Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. public void Pause()
  2. {
  3. pauseMenuUI.SetActive(true);
  4. Time.timeScale = 0f;
  5. GameIsPaused = true;
  6. ScoreScript.scoreAmount = 0;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement