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); }
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); }