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!


script and prefab here: spritesheetanimation


more about spritesheets: