So far, our hero can move to the left and right of the screen, but it is a little flat. As we have some animation in our spritesheet, let's put that into action.
As described earlier, in order to get the animation running, we will need the following prerequisites:
To get started, first we need to add the Animator component to the player's game object by navigating to Add Component | Miscellaneous | Animator in the Inspector pane. Leave all the other options alone for now.
Next, create a new animation Controller in