private void StartConvorsation(DialogueCharacter character) { DialogueTree tree = character.GetDialogue(); tree.SetCharacters(new CharacterInfo[] { info, character.GetCharacter() }); player.PlayTree(tree); }
public void StartDialogue(DialogueCharacter character, Action OnSpecificDialogueEnded = null) { DialogueTree tree = character.GetDialogue(); tree.SetCharacters(new CharacterInfo[] { playerInfo, character.GetCharacter() }); player.PlayTree(tree, OnSpecificDialogueEnded); }