private IEnumerator ShowStart() { string s1, s2; if (currentQType == QType.Practice) { s1 = GameMng.selectedCategory.ToString(); s2 = "lesson " + GameMng.GetLessonNumberString(); } else { s2 = GameMng.selectedExam.examTitle; s1 = "Exam"; } yield return(new WaitForSeconds(1)); startPanel.Show(s1, s2); yield return(new WaitForSeconds(2)); if (currentQType == QType.Exam) { examTime = (int)(QuestionList.Count * 15f); timerPanel.SetTimer(0, 0, 0, examTime); timerPanel.OnTimerDoneEvent += TimerPanel_OnTimerDoneEvent; } ShowNextQuestion(); }