Animators

A set of UI animation tools.

FadeTextMesh can be attached to TextMeshPro objects to animate the text. Call SetText(string) to trigger an animation.

UIAnimator can be attached to UI elements. A series of animation tools will then be available to you. For instance, MoveTo, ScaleTo and AlphaTo.

PanAnimator extends from UIAnimator. Menu elements often tween and fade in from a specified direction. This is where PanAnimator comes in. Attach a PanAnimator to your UI element, then call SetUp(string direction) to assign a direction. After that, call Show and Hide as required.