Page 1 of 1

Use of SetPanel Hiding Text?

Posted: Mon Aug 09, 2021 6:38 pm
by Reznik
Hi,

I'm doing a call to SetPanel in the node before the one where I need the change to take place. By doing this, it does properly force the correct subtitle panel to display and I can start to see the subtitle show up letter by letter, but almost immediately after the text starts to display it disappears. Any thoughts on what could cause this?

Thanks!

Re: Use of SetPanel Hiding Text?

Posted: Mon Aug 09, 2021 8:00 pm
by Tony Li
Hi,

First try ticking Wait For Close on both subtitle panels.

If that doesn't work, then if two subtitle panels share some of the same UI elements, it might be the Animator(s). For example, the incoming subtitle panel could be telling the Animator to play the Show animation while the outgoing panel tells it to play the Hide animation.

To see if this is the issue, temporarily remove the Animators from the subtitle panels.

If that's the issue, set up identical UI elements so different panels can control them separately..

Re: Use of SetPanel Hiding Text?

Posted: Tue Aug 10, 2021 9:09 am
by Reznik
Ticking Wait for Close worked.

Thank you!

Re: Use of SetPanel Hiding Text?

Posted: Tue Aug 10, 2021 9:29 am
by Tony Li
Happy to help!