Game Development Reference
In-Depth Information
18. Before we finish this section, we need to add
MyAnimatorController
(which we
just created) to our character. Let's click on the
Heroine_animate
object in the
Hierarchy
view and bring up the inspector. Go to
Controller
and put
MyAnim-
atorController
, as shown in the following screenshot:
If we click on the play button to play the game while opening the
Animator
win-
dow, we can change the condition parameter and see the animation changing in
action: