Animation states

To create a new state, you can simply drag and drop an animation from your Project window. This will name and assign the relevant animation to the state in the layer. You can also create an empty state by right-clicking in the layer and selecting Create State | Empty. When a state is created, you can click on the state and observe its properties in the Inspector window, as shown in the following screenshot:

Your model may or may not have animations attached to it. The whole idea of the Mecanim system is to enable character modelers to work on their models, while animators can use the skeleton of a humanoid avatar to animate ...

Get Building an RPG with Unity 2018 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.