Something that I can accomplish in 5 minutes in libGDX is taking me forever in Unity. I have a Canvas
with a button that covers my entire screen. When the button is clicked, I want the button to fade out and then for the underlying UI to be clickable (if the button is just faded out but it's still on top, you can't click anything).
I tried to use crossFadeAlpha
on the Image
attached to the button, but the problem is that crossFadeAlpha
is async, so I can't do image.enabled = false;
when it finishes.
Is there any simple way to accomplish this task in Unity?