Animating Sprites in Unity

Richard Morgan
1 min readJun 1, 2021

--

To animate a sprite in Unity, first select the Game Object that the animation is going to be applied to. In this case we are animating our TripleShot.

With the Game Object selected, select Window/Animation and create a new animation. This will open the Dopesheet window in the Animation tab. From here just drag and drop the sprites to be used in the animation onto the Dopesheet. Now when we play the scene, the animation will be applied to the Game Object.

Notice that we now have these two new objects under our assets:

Triple_Shot_Powerup_anim is the animation clip we just created, but the other object, TrippleShotPowerup, is our Animator Controller (seen above the game-play window here:

The Animator Controller is flashing because it is set to loop until it is destroyed. We can watch it’s action in the window. The window can be used to manipulate advanced animations and observe them in a flow-chart style.

--

--

Richard Morgan
Richard Morgan

Written by Richard Morgan

Unity developer interested in AI integrations.

No responses yet