// Generiraj prasanje public void SetQuestion() { // Postavi momentalno prasanje na random prasanje od bazata currentQuestion = QuestionBase.questionBase [Random.Range(0, QuestionBase.questionBase.Length)]; // Postavi go tekstot vo poleto za prasanje. (question e pole nasledeno od super klasata) question.text = currentQuestion.question; }
public void SetQuestion() { currentQuestion = QuestionBase.questionBase [Random.Range(0, QuestionBase.questionBase.Length)]; question.text = currentQuestion.question; }