private void OnDialogueNodeStart(DialogueNode node) { dialoguePanel.gameObject.SetActive(true); //m_DialogueText.text = node.DialogueLine.Text; StopAllCoroutines(); SetDialoguePortaitImage(node); StartCoroutine(TypeSentence(node.DialogueLine.Text)); m_SpeakerText.text = node.DialogueLine.Speaker.CharacterName; node.Accept(this); }
public ISceneDefinition Create(DialogueNode dialogueNode) { dialogueNode.Accept(this); return(_sceneDefinition); }