- Sin
- Cos
- Lerp
- Stretch
- Alpha Fade
- Alpha Pulse
The animations are setup using scriptable objects for easy reusing and consistent UI animations. The UIAnimator comes with handy functions that can be incorporated with different UI scripts to allow for easy use and functionality.
- Unity
- C#
- Windows 10
- Visual Studio Code
- UnityEngine
- UnityEngine.UI
- System
- System.Collections
- System.Collections.Generic
Create a new UI animation scriptable object using the create menu:

Fill out the UI animation details:

Create your UI script, and attach it to a gameobject:

Get references to your UI components and UI animation scriptable object:

Use the UIAnimator functions to play animations. Example:

Before:

After:

Once the animation is finished the event is called, triggering a message in the console:
