Page 1 of 1

How to hide subtitle box/text box while fading?

Posted: Fri Feb 15, 2019 5:58 am
by DragoonHP
Right now, the entire screen including the textbox kinds of fades in/out

Edit: This doesn't work

Code: Select all

SetActive(Dialogue Panel, false); Fade(out, 0.9, #000000)@0.1; Fade(in, 1, #000000)@1;SetActive(Dialogue Panel)@1
The fade out doesn't work and the Dialogue Panel isn't set to active when the Sequence ends.
If it is of any relevance, I have set it as a Sequencer Shortcut and there is another gameObject I set to active. So it's something like

Code: Select all

{{shortcut_seq}}; SetActive(gameObject)

Re: How to hide subtitle box/text box while fading?

Posted: Fri Feb 15, 2019 9:13 am
by Tony Li
Please let me know if "Fade(stay" addresses this issue, too.

Re: How to hide subtitle box/text box while fading?

Posted: Fri Feb 15, 2019 10:06 am
by DragoonHP
It doesn't. The Dialogue Panel never comes back

Re: How to hide subtitle box/text box while fading?

Posted: Fri Feb 15, 2019 10:22 am
by Tony Li
Instead of SetActive, try:

SendMessage(Hide,, Dialogue Panel)

to hide the Dialogue Panel, and replace Hide with Show to show it. If the Dialogue Panel has an Animator, the SetActive will reset it to invisible. The Hide & Show methods will control the Animator.