Change sprite to animation in unity 5 2d (c#)
Posted by: Fernando Perales on 07/20/2015 | Add Revision
I want to do the same as this older post with one change:
Change the sprite of a Object in Unity
I want to use a .anim animation (created with unity) after the space key is pressed instead of another sprite. The problem is I can't drag the animation file to the sprite slot in the script component.