In the previous chapter, we created masks for various parts of the body to add variation to our stock animation sequences. The animator controller connected to the zombie in our current scene is set up the same way, there are just a few changes that need to be made:
Click on the
zombie_fgame object in the Hierarchy panel to select it.
Click on the Animator tab in the top center of the Unity interface to switch to the Animator panel.
In the top left of the Animator panel, click on the Layers tab to activate it.
The zombie's animator controller consists of a base layer containing two states: Idle and Walk. We need to create a new layer for the face animation: