Using animations - MotionTooler/MotionToolsWiki GitHub Wiki
In this section a short tutorial of using animations in Unity environment will be provided.
Note: Make sure you followed the tutorial on how to properly import a model into Unity, before starting with this tutorial.
Using offline animation files
First step to using offline animation files is importing such file into the Unity assets. Note that the animation's rig animation type should be set to humanoid, similarly to how it has been done with the skeleton.
For the second step, we will need to create a custom animation controller. Do this by right-clicking the assets menu, then choose: Create -> Animation Controller and then open the controller afterwards (double-click).
The controller will contain three states: Any State, Entry and Exit. Create a new empty state and connect the "Any State" to the newly created state. The controller should look as follows:
Note that for more complex usage of the animations you might need to modify the controller more.
The controller needs to know which animation to play. Choose the animation asset that you imported by editing the New State's motion property.
For the last step, you need to add an Animator component to your skeleton in the scene and assign the newly created controller. Furthermore, check the "Apply root motion" checkbox.