Animating Sprites in Unity

Animating sprites in Unity is very easy using the animation window.

To open the Animation Window:

  • Navigate to the window drop down menu at the top of the screen
  • Find the animation tab in the drop down menu
  • Select animation to open the animation window
  • You can then dock the animation window next to the game view

Make sure you have your sprite in the hierarchy

Now select the red dot to start recording your animation

Navigate to your sprite asset in the assets folder and select all of the sprites animation prefabs by selecting the first sprite and then the last sprite while holding left shift

Now drag these sprites into the animation window

You can adjust the length of the animation by dragging the blue bar.

You can press the play button to preview the animation

Now click the red dot to end the animation recording when you are happy with the animation. You should now have an animated sprite.




Unity Game Developer and C# Programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Laravel 9: Miscellaneous!

File-Driven API testing in Golang, the unconventional way

Top Tips To Develop An Enterprise Mobile App

An advertiser creates a display ad with Ad gallery.

A History of Software Development

Generate a EAN-13 code barcode as PNG file in Python

Rock, paper, scissors game with performance

Beyond Google SRE: What is Site Reliability Engineering like at Medium?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matthew Clark

Matthew Clark

Unity Game Developer and C# Programmer

More from Medium

Adding a burst laser powerup

What are Unity Skyboxes?

Unity : Cinemachine and Timeline (Part III)

Intro Physics with Unity