public void OnReplayButtonPressed() { SoundHelper.PlayButtonSound(); SceneManager.LoadScene(SceneManager.GetActiveScene().name); Time.timeScale = 1; }
// --------- BUTTON CLICK METHODS ---------- public void OnPlayPressed() { SoundHelper.PlayButtonSound(); operation.allowSceneActivation = true; }
// --------- BUTTON CLICK METHODS ---------- public void OnHomeButtonPressed() { SoundHelper.PlayButtonSound(); Time.timeScale = 1; operation.allowSceneActivation = true; }