How to Disable Fading of Dialogue Panel?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Unrighteous
Posts: 36
Joined: Thu Mar 17, 2022 5:32 pm

How to Disable Fading of Dialogue Panel?

Post by Unrighteous »

Hello,

I've been trying to figure out how to completely disable fading on the dialogue panel, so that it doesn't fade in or out, but just instantly appears and disappears.

I've modified all of the animations in the "Canvas Group Animator Controller" to be instant. However, the subtitle and response panels always fade out when the conversation is over, and I'm not sure where this behavior is coming from.

Any advice on this would be appreciated.

Thank you.
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to Disable Fading of Dialogue Panel?

Post by Tony Li »

Hi,

Those panels have Animators, too. Remove the Animators from the Dialogue Panel, all subtitle panels, and all menu panels. Then clear their Show Animator Trigger and Hide Animation Trigger fields.
Unrighteous
Posts: 36
Joined: Thu Mar 17, 2022 5:32 pm

Re: How to Disable Fading of Dialogue Panel?

Post by Unrighteous »

That works! Thanks!

I still don't really understand why the fade was still occurring since they all use the same animator controller and I modified the "Hide" animation to be instant, but I may have missed something.

This works perfectly though. Ideally, I wanted to control the fading through code, and I can do that now, thanks again.
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to Disable Fading of Dialogue Panel?

Post by Tony Li »

Glad to help!

Maybe the Animator was pointing to a different animator controller, or maybe that animator controller was pointing to a different animation clip than what you expected. Anyway, I'm glad you have it the way you want now.
Post Reply