Пример #1
0
    protected override void InitializeGroup()
    {
        setDisplayBehaviour(new NullDisplayBehaviour());
        questionText.text = questionData.getQuestion();

        buttons = GetComponentsInChildren <CommandButton> ();
        string[] options = questionData.getOptions();

        for (int i = 0; i < buttons.Length; i++)
        {
            buttons [i].setChildTextString(options[i]);
        }

        typeObject.initialize(this, questionData);
    }