Пример #1
0
 public void setPhrasesFromLine(int firstLineNum)
 {
     GameObject.Find("option1").GetComponentInChildren <Text> ().text =
         conversation.getPhrase(firstLineNum);
     GameObject.Find("option2").GetComponentInChildren <Text> ().text =
         conversation.getPhrase(firstLineNum + 1);
     GameObject.Find("option3").GetComponentInChildren <Text> ().text =
         conversation.getPhrase(firstLineNum + 2);
 }