Sprite Sheet Animation

Here is a prefab for doing 2d sprite sheet animations!

Use it like this:

  1. Make a sprite sheet in Photoshop or Illustrator (use a grid and center your frames to the grid)
  2. Import your image
  3. Create a new material (using the shader unlit/transparent and adding your image as a texture)
  4. Apply your material to a quad (gameobject -> 3d object -> quad)
  5. Add the Animate Sprite Sheet script and tweak the values to match your spritesheet.
  6. Press play!

cat_base_sprite_sheet_by_sammycatbone-d586e2s

script and prefab here: spritesheetanimation

 

more about spritesheets:

http://michaelcummings.net/mathoms/creating-2d-animated-sprites-using-unity-4.3