Exemplo n.º 1
0
 public void ClickedStartquizType2()
 {
     if (_audioManager)
     {
         _audioManager.PlayAudioClip("pressPlay");
     }
     _questionManager.SetSelectedQuizType(QuestionManager.QuizTypes.quizType2);
     Application.LoadLevel("LevelSelect");
 }
Exemplo n.º 2
0
        void BuildEmptyStateStructure()
        {
            m_questionManager.SetSelectedQuizType(QuestionManager.QuizTypes.Jigsaw);
            string[] allQuizNames = m_questionManager.AllQuizNamesInCurrentMode();
            m_playerProgress = new SingleQuizState[allQuizNames.Length];
            for (int i = 0; i < allQuizNames.Length; i++)
            {
                m_questionManager.SetQuiz(allQuizNames[i]);
                int questionCount = m_questionManager.GetNumberOfQuestions();

                m_playerProgress[i]             = new SingleQuizState();
                m_playerProgress[i].m_questions = new int[questionCount];
            }
        }