Пример #1
0
 void ResExamData(int index)
 {
     if ((index) < ExamSystem._Exam.questions_.Length)
     {
         uint         questionId = ExamSystem._Exam.questions_[index];
         QuestionData qdata      = QuestionData.GetData((int)questionId);
         _ContentLable.text = qdata._Question;
         _ALable.text       = qdata._Answer1;
         _BLable.text       = qdata._Answer2;
         _CLable.text       = qdata._Answer3;
         _DLable.text       = qdata._Answer4;
         _NumberLable.text  = LanguageManager.instance.GetValue("ti").Replace("{n}", (++index).ToString());
     }
     else
     {
         //
         ClearTextData();
     }
 }