Animator Controller

Whenever an Animation Clip is created for an object, an Animator is automatically created for it (if one does not already exist). An Animator component is also automatically added to the object. When we created the SliderExampleAnimation Animation Clip on the Slider in the preceding section, an Animator named Slider was created and the Animator component was attached to the Slider:

An Animator is needed to play Animation Clips because it determines when Animation Clips are played.

An Animator is a type of decision tree known as a state machine. It holds a collection of states. States are essentially "statuses at a moment ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.