Animating UI via scripts in Unity/C#
Let’s see how to use C# coroutines to animate UI canvas elements!
What about Unity animations?
When you work on your UI, you might be tempted to use “normal” Unity animations to update the various parameters of your elements. And it’s a valid and user-friendly of doing it.