Exemplo n.º 1
0
    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);
    }
Exemplo n.º 2
0
 public ISceneDefinition Create(DialogueNode dialogueNode)
 {
     dialogueNode.Accept(this);
     return(_sceneDefinition);
 }