Exemple #1
0
 public void showGameOver()
 {
     animation[0].SetBool("isOver", true);
     animation[0].gameObject.SetActive(true);
     if (!oneTime)
     {
         soundManager.PlaySoundGameOver();
         oneTime = true;
     }
 }
Exemple #2
0
 public void showGameOver()
 {
     animation[0].SetBool("isOver", true);
     animation[0].gameObject.SetActive(true);
     if (!oneTime)
     {
         soundManager.PlaySoundGameOver();
         oneTime = true;
         databaseController.insertvalue(correctCount, incorrectCount, 0);
     }
 }