public void Quit() { TriggerExitAction(); currentConversant = null; currentDialogue = null; currentNode = null; isChoosing = false; onConversationUpdated?.Invoke(); }
public void StartDialogue(AIConversant newConversant, Dialogue newDialogue) { playerName = GetComponent <PlayerInfo>().GetPlayerInfo("name"); currentConversant = newConversant; currentDialogue = newDialogue; currentNode = currentDialogue.GetRootNode(); TriggerEnterAction(); onConversationUpdated?.Invoke(); }