how does the animation window work in unity 5

I have 32 sprites, im trying to cycle through them over the course of 2 seconds and apply this animation to a quad,i want to be able to call this from a script and i dont want it to loop. Ive never used unitys animation tools before and i cannot for the life of me figure out how to actually add the sprites to it. I keep trying to drag them in but that doesnt seem to do anything, and the console is giving me several errors saying “Unable to create animatable SpriteRenderer component UnityEngine.Debug:LogError(Object)” any help here would be appreciated

Try these steps:

  1. Select the game object.
  2. Goto Animation window. Click the drop down near “Samples” in the left pane.
  3. Save the animation file.
  4. Drag drop the image frames in the right pane.
  5. Set “Samples” for sampling rate.
  6. Press “Play” button of animation window and you are good to go.

Hope it helps!

If you have a MeshFilter added you have to remove it.