I’m trying to make this RectTransform fade in. It has an script which controls the alpha value of the canvas renderer of it and its children as detailed by Unity UI - Fading Canvas/Panel - Questions & Answers - Unity Discussions
so using this script I have done the following:
- Set RectTransform as inactive
- Activate RectTransform with Alpha set to 0 in start function.
- Animate the Alpha variable to go from 0 to 1.
between steps 1 and 2 it seems like it takes a little to realize that it has to set Alpha to 0 and so it creates this flicker which I don’t like. My guess is that the canvasrenderer takes a frame to run the start function causing this. ¿Any ideas on how to tackle this issue?