Level Up Your Unity Skills: Animating Sprites in Unity

Gerald "Ray" Patton
2 min readMar 12, 2024

--

Objective: Add an Animation to our first power up

To begin with, let us take a look at what our Triple Shot Power-up looks like without an added animation:

No Animation on our Power Up!

Adding Animation to Unity is simple enough. You begin by select our GameObject we want to animate from our Scene, the open an Animation Window from the top menu: Window > Animation > Animation. With is new Animation Window I would recommend docking it next to the Game/Console Window at the bottom of the layout, this is help maximize the workflow. (For more information on how to create a layout to maximize your workflow, follow this link:

Within your Animation Window you just need to Create and save a new Animation, for organizational reasons save your new Animation within your Project > Assets in a new folder titled Animation.

From here you just select your GameObject and press the Red Record button. If you have the animation frames already created within you Assets folder, it is just a matter of select them all and then drag and drop into the Animation window:

The red bar indicates it is Recording.

After they are adding you just stop recording and then you are done. An new animation is added:

Now, our Power Up has a flashing animation. Until next time, Happy Developing!

--

--

Gerald "Ray" Patton

Unity Developer | C# Software Engineer | Game Developer | USAF Veteran