Page 1 of 1
SetDialoguePanel(true); Error?
Posted: Mon Oct 28, 2024 3:01 am
by robster21
When this sequence command is used after SetDialoguePanel(false);, the Context Line is not output. What should I do?
(+)
I'm using Text Animator for Unity (by Febbuci), and the nodes are like 1st image
Re: SetDialoguePanel(true); Error?
Posted: Mon Oct 28, 2024 9:00 am
by Tony Li
Hi,
As a test, try moving the SetDialoguePanel(true) line to the previous node, using this syntax:
Re: SetDialoguePanel(true); Error?
Posted: Mon Oct 28, 2024 9:29 am
by robster21
It works, Thank you!!
Re: SetDialoguePanel(true); Error?
Posted: Mon Oct 28, 2024 9:57 am
by Tony Li
Glad to help! This change handles a timing issue because each node's text is set before the sequence runs. By moving the SetDialoguePanel(true) to the previous node, the dialogue UI is reactivated before Text Animator plays the text. Otherwise Text Animator would be given the text but since the dialogue UI isn't reactivated yet it won't start the typing effect.