Configuring an animator graph

The animation clip defines an animation in terms of key frames, graphs, and states. This includes all camera animations created so far. Specifically, an animation clip defines the content of an animation. However, the animation clip doesn't define when it should play during gameplay. To control playback, an Animator component and animator controller is needed for the navigator object. Unity creates these assets automatically when you create your first animation clip. Additionally, Unity configures the assets and attaches them to the selected object so that it always plays the first animation when the level begins. However, this is not the behavior we actually want. We can easily tweak the generated assets to ...

Get Mastering Unity 2017 Game Development with C# - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.