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

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