public void showCleared() { animation[1].SetBool("isOver", true); animation[1].gameObject.SetActive(true); if (!oneTime) { soundManager.PlaySoundCleared(); oneTime = true; } }
public void showCleared() { animation[1].SetBool("isCleared", true); animation[1].gameObject.SetActive(true); if (!oneTime) { soundManager.PlaySoundCleared(); oneTime = true; databaseController.insertvalue(correctCount, incorrectCount, 1); } }