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