[Feature Request] Allow SetActive to optionally fade in images via alpha
Posted: Fri Feb 15, 2019 7:20 am
What I want to do is, fade in a specific object on the screen. I can do it by attaching an Animator to the object but it becomes quite tedious if it needs to be done for multiple objects. I know another way is to using a CoRoutine and changing the alpha of the image from zero to 1.
Something like
where 1.0 is the time it will take the gameObject alpha to increase from 0 to 1
Something like
Code: Select all
SetActive(gameObject, 1.0)