Chapter 3. Getting Animated

Unity has a powerful built-in animation system. In this chapter, we will discuss animating using a sprite sheet to create the walk cycle for our main character.

The following topics will be covered in this chapter:

  • Overview of animation features
  • Sprite sheet animation
  • Animation Controllers
  • Access animators from scripts

Fundamentals of sprite animation

In this section, we will discuss, in general, the features included in Unity that can be used to create a sprite sheet animation. There are three main features that will be used to create a fully animated sprite character: Animation clips, Animation Controllers, and Animator components.

Animation clips

Animation clips are the heart of the animation system within Unity. All animations ...

Get Mastering Unity 2D Game Development - 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.