示例#1
0
 public DialogueNodeData()
 {
     Character  = "node";
     Dialogue   = "dialogue";
     Answers    = new DialogueOptionData[1];
     Answers[0] = new DialogueOptionData();
     Dir        = "0";
 }
示例#2
0
 public DialogueNodeData(string node, int dias, int answs, string dir)
 {
     Character = node;
     Dialogue  = "dialogue";
     Answers   = new DialogueOptionData[answs];
     for (int i = 0; i < Answers.Length; i++)
     {
         Answers[i] = new DialogueOptionData();
     }
     Dir = dir;
 }