Ejemplo n.º 1
0
 public void StartDialogue(AIConversant newConversant, Dialogue newDialogue)
 {
     currentConversant = newConversant;
     currentDialogue   = newDialogue;
     currentNode       = currentDialogue.GetRootNode();
     TriggerEnterAction();
     onConversationUpdated();
 }
Ejemplo n.º 2
0
 public void Quit()
 {
     currentDialogue = null;
     TriggerExitAction();
     currentConversant = null;
     currentNode       = null;
     isChoosing        = false;
     onConversationUpdated();
 }
Ejemplo n.º 3
0
        public void StartDialogue(Dialogue newDialogue, AIConversant conversant)
        {
            currentConversant = conversant;
            currentDialogue   = newDialogue;
            currentNode       = currentDialogue.GetRootNode();

            TriggerEnterAction();

            onConversationUpdated?.Invoke();
        }