public void Pause() { ButtonClickSound.playSound(); Pausemenu.SetActive(true); PauseButton.SetActive(false); Time.timeScale = 0; }
public void Play() { ButtonClickSound.playSound(); SceneManager.LoadScene("Game"); Time.timeScale = 1; }
public void Restart() { ButtonClickSound.playSound(); SceneManager.LoadScene("Game"); }
public void MainMenu() { ButtonClickSound.playSound(); SceneManager.LoadScene("Menu"); Time.timeScale = 1; }
public void QuitGame() { ButtonClickSound.playSound(); Application.Quit(); }