Next, we'll setup the character with some components and GameObjects.
Here's how to control the animations with an Animator Controller (see 2d animation for more info)
Create a new Animator Controller for the character
Add parameters to control the animations with (speed, isCrouching, etc...)
speed
isCrouching
Create states for the animations. Here's a blend tree for walking/running:
Apply the mask for the special layer
Avatar is a representation of bones that can be used for another asset in Unity.