Пример #1
0
 public void showGameOver()
 {
     animation[0].SetBool("isOver", true);
     animation[0].gameObject.SetActive(true);
     if (!oneTime)
     {
         soundManager.PlaySoundGameOver();
         oneTime = true;
     }
 }
Пример #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);
     }
 }