예제 #1
0
 public void questionDisplay(QuestionGen generatedQ)
 {
     questionText      = GameObject.Find("Question").GetComponent <Text>();
     questionText.text = generatedQ.toString();
 }
예제 #2
0
 void Start()
 {
     newQ = generateQuestion();
     Debug.Log(newQ.toString());
     questionDisplay(newQ);
 }