Beispiel #1
0
    public void Begin()
    {
        OpenQuestionPanel();
        QuestionPanelController question = questionPanel.GetComponent <QuestionPanelController>();

        question.InitialState();
    }
Beispiel #2
0
 void Awake()
 {
     // Set the text
     textfilePath   = "Assets/Dialogue/" + textfilePath;
     reader         = new StreamReader(textfilePath);
     questionScript = (QuestionPanelController)questionPanel.GetComponent(typeof(QuestionPanelController));
     readNewLine();
 }