Example #1
0
    void PlayDialogue(string message)
    {
        this.EnsureCoroutineStopped(ref typeRoutine);
        dialogueVertexAnimator.textAnimating = false;
        List <DialogueCommand> commands = DialogueUtility.ProcessInputString(message, out string totalTextMessage);

        typeRoutine = StartCoroutine(dialogueVertexAnimator.AnimateTextIn(commands, totalTextMessage, typingClip[index], EndSentenceAction));
    }