public void StartDialogue(CDialogue dialogue) { animator.SetBool("IsOpen", true); nameText.text = dialogue.name; sentences.Clear(); foreach (string sentence in dialogue.sentences) { sentences.Enqueue(sentence); } DisplayNextSentence(); }
public void StartDialogue(CDialogue dialogue) { Debug.Log("Entra en la funcion Star Dialogue"); _AnimatorPanel.SetBool("IsConversation", true); _PlayerCharater.SetBool("IsConversation", true); _PlayHolderCharacter.SetBool("IsConversation", true); nameText.text = dialogue.name; sentences.Clear(); foreach (string sentence in dialogue.sentences) { sentences.Enqueue(sentence); } DisplayNextSentence(); }