Fade(unstay) doesn't work as intended for me

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Fade(unstay) doesn't work as intended for me

Post by Abelius »

Hi there,

As the title says, I'm having problems with Fade(unstay)

I'm using it to do fade ins, obviously, but I also wanted that if DS has already faded in the screen previously, it doesn't do it again from zero alpha, as it's supposed to happen when using that keyword instead of just "in".

But that's not happening in my case. I get a rather ugly flash to black followed by a fade in.

Is there any requirement for this to work, other than always using DS to fade out/in?

For the fade outs I'm using "stay", btw.

Thanks.
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fade(unstay) doesn't work as intended for me

Post by Tony Li »

Any errors or warnings in the Console?

I just tested this sequence, and it works correctly without a flash:

Code: Select all

Fade(stay);
Fade(unstay)@2
Are you doing something between the Fade(stay) and Fade(unstay) that might do something to the Dialogue Manager's "Canvas (Fader)" child GameObject?

Can you try importing the latest SequencerCommandFade.cs from version 2.2.22? Here's a copy:

DS_Fade_2_2_22.unitypackage
Post Reply