- Home /
Question by
spacerobots · Feb 07, 2016 at 12:33 AM ·
textalphacrossfade
Stop crossfadealpha
I'm trying to find a way to stop/disable/end the crossfadealpha method. Basically I have a user notification that I enable, wait a second, and then start fading out, but I want to stop the fade if I retrigger the notification before it is done fading out.
I can't figure out if it's possible to do this. Anyone know of a way to do this? Or do I need to go full manual and lerp the alpha in my update method?
Comment
Answer by cncool1 · Jul 20, 2017 at 06:57 PM
It appears you can cancel it by calling CrossFadeAlpha again with the alpha you want, and a duration of 0.