O'Reilly logo

Unity 4 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an animator controller

In this step, we will create the Animator Controller, which we will use to control our character animation using the state machine and parameters to create a condition to change the type of animation. This animation will be controlled using the script that we will create in the next step.

Engage thrusters

Let's get started:

  1. Click on Animation under the Chapter4 folder in the Project view, right-click and go to Create | Animator Controller, and rename it to MyAnimatorController.
  2. Double-click on MyAnimatorController to bring up the Animator view, as seen in the following screenshot:
    Engage thrusters
  3. Double-click on Base Layer in the top-left ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required