Unity UI Panel Fade Tutorial
In this Unity tutorial I show how to fade a UI panel in and out using a C# script when a button is clicked.
To be able to fade a UI element in Unity you can add a CanvasGroup to the container and set the alpha value, this will also affect the child elements.
In the C# script I use a CoRoutine to set the alpha value and the Math.Lerp function.
See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam
Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com