Version: 2017.2 (switch to 2017.3b)
Animator Controllers
The Animator Window
Other Versions

The Animator Controller Asset

When you have an animation clips ready to use, you need to use an Animator Controller to bring them together. An Animator Controller asset is created within Unity and allows you to maintain a set of animations for a character or object.

An Animator Controller Asset in the Project Folder
An Animator Controller Asset in the Project Folder

Animator Controller assets are created from the Assets menu, or from the Create menu in the Project window.

In most situations, it is normal to have multiple animations and switch between them when certain game conditions occur. For example, you could switch from a walk animation to a jump whenever the spacebar is pressed. However even if you just have a single animation clip you still need to place it into an animator controller to use it on a Game Object.

The controller manages the various animation states and the transitions between them using a so-called State Machine, which could be thought of as a kind of flow-chart, or a simple program written in a visual programming language within Unity. More information about state machines can be found here. The structure of the Animator Controller can be created, viewed and modified in the Animator Window.

A simple Animator Controller
A simple Animator Controller

The animator controller is finally applied to an object by attaching an Animator component that references them. See the reference manual pages about the Animator component and Animator Controller for further details about their use.

Did you find this page useful? Please give it a rating:

Animator Controllers
The Animator Window