Legacy Documentation: Version 5.3
Animator Controller
Animation States

Creating an AnimatorController

Animator Controller

You can view and set up character behavior from the Animator Controller view (Menu: Window > Animator Controller).

The various ways an Animator Controller can be created:

  • From the Project View by selecting ‘Create > Animator Controller’.

  • By right-clicking in the Project View and selecting ‘Create > Animator Controller’.

  • From the Assets menu by selecting ‘Assets > Create > Animator Controller’.

This creates a .controller asset on disk. In the Project Browser window the icon will look like:

Animator Controller asset on disk
Animator Controller asset on disk

Animator Window

After the state machine setup has been made, you can drop the controller onto the Animator component of any character with an Avatar in the Hierarchy View.

The Animator Controller window contains:

The Animator Controller Window
The Animator Controller Window

Note that the Animator Controller Window will always display the state machine from the most recently selected .controller asset, regardless of what scene is currently loaded.

Animator Controller
Animation States
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961