Esempio n. 1
0
 public void StartDialogue(AIConversant newConversant, Dialogue newDialogue, int convoChain)
 {
     currentConversant = newConversant;
     currentDialogue   = newDialogue;
     currentNode       = currentDialogue.GetRootNode(convoChain);
     TriggerEnterAction();
     onConversationStart?.Invoke();
 }
Esempio n. 2
0
 public void Quit()
 {
     TriggerExitAction();
     currentConversant = null;
     currentDialogue   = null;
     currentNode       = null;
     isChoosing        = false;
     onConversationEnd?.Invoke();
 }