Exemplo n.º 1
0
 public override DialogueNode Next(DialogueContext context)
 {
     currentNodeIndex++;
     if (currentNodeIndex == nodes.Count)
     {
         currentNodeIndex = 0;
         return(context.GetDialogueNode(nextNodeId));
     }
     return(this);
 }
Exemplo n.º 2
0
 public override DialogueNode Next(DialogueContext context)
 {
     return(context.GetDialogueNode(nextNodeId));
 }
Exemplo n.º 3
0
 public void SelectChoice()
 {
     dialogueContext.HideChoice();
     dialogueContext.VisitNode(dialogueContext.GetDialogueNode(nextNodeId));
 }