Fading all visual elements as one

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Adrian
Posts: 1
Joined: Mon Jul 15, 2024 4:14 am

Fading all visual elements as one

Post by Adrian »

Hey! Quick question: we want all the dialogue visuals (portrait, text bg, name bg etc) to fade out as one element/uniform alpha (to avoid seeing the other elements through the others while fading). At the moment it's a bit awkward, with multiple elements being visible and fading out overlapping each other with varying alphas.

What's the recommended / best solution for this?

Thanks in advance!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fading all visual elements as one

Post by Tony Li »

Hi,

This depends on how your dialogue UI is set up.

Do you want to fade the entire dialogue UI when the conversation starts and ends? If so, set up the fade on the Dialogue Panel. You can use a Canvas Group and a Canvas Group Animator Controller.

If you want to fade a single subtitle panel, can you fade out the entire subtitle panel? This would presumably include the panel, subtitle text, portrait image, and portrait name. You can use a Canvas Group and a Canvas Group Animator Controller.
Post Reply