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

    public void OnHomeButtonPressed()
    {
        SoundHelper.PlayButtonSound();
        Time.timeScale = 1;
        operation.allowSceneActivation = true;
    }