Example #1
0
    void FetchQuestions()
    {
        if (GameControl.control.categories.Length < 1)
        {
            questions = qDB.FecthQuestions(new string[] { "TestData" }, 1);
        }
        else
        {
            questions = qDB.FecthQuestions(GameControl.control.categories, GameControl.control.diffeculty);
        }

        NewQuestion();
    }