Beispiel #1
0
 public void YouWin()
 {
     //Am thanh
     if (SoundManager.instance != null)
     {
         SoundManager.instance.PlaySFX(SFX.VICTORY);
     }
     winPopup.Open();
     losePopup.Close();
 }
Beispiel #2
0
 public void YouLose()
 {
     //Am thanh
     if (SoundManager.instance != null)
     {
         SoundManager.instance.PlaySFX(SFX.LOSE_GAME);
     }
     losePopup.Open();
     winPopup.Close();
 }