Esempio n. 1
0
 public void Replay()
 {
     SoundEffectManager.instance.PlayButtonClickSound();
     candy = PlayerPrefs.GetInt("Candy", 0);
     score = 0;
     MSceneManager.GameGo();
 }
Esempio n. 2
0
 public void GameGo()
 {
     if (SoundEffectManager.instance != null)
     {
         SoundEffectManager.instance.PlayButtonClickSound();
     }
     DontDestroyOnLoad(this.gameObject);
     MSceneManager.GameGo();
 }