public void StartDialogue(AIConversationHandler newAIHandler) { _currentDialogue = newAIHandler.Dialogue; _currentDialogueNode = _currentDialogue.DialogueNodes[0]; TriggerEnterAction(); _currentAIHandler = newAIHandler; _onConversationUpdated?.Invoke(); }
public void Quit() { _currentDialogue = null; TriggerExitAction(); _currentDialogueNode = null; _currentAIHandler = null; _isChoosing = false; _onConversationUpdated?.Invoke(); }