예제 #1
0
 public DialogueOption(string text, DialogueNode dest, DialogueCommand command, DialogueTree dialogueTree)
 {
     this.text    = text;
     this.dest    = dest;
     this.command = command;
     origin       = dialogueTree.CurrentNode;
     dialogueTree.AddOption(this);
 }
예제 #2
0
 public DialogueOption(string text, DialogueNode dest, DialogueTree dialogueTree)
 {
     this.text = text;
     this.dest = dest;
     command   = new DialogueCommand(null, DialogOrder.none);
     origin    = dialogueTree.CurrentNode;
     dialogueTree.AddOption(this);
 }