Search Unity

2D sprite Animator not working

Discussion in 'Animation' started by NetherGear, Oct 6, 2018.

  1. NetherGear

    NetherGear

    Joined:
    Sep 21, 2018
    Posts:
    15
    I'm having trouble getting the animator control working with 2D sprites.

    I created an empty sprite then selected my 4 sprites for the crosshair and dragged them to the empty sprite. A default animator was created along with an animation.

    When I run the scene the animation does not play nor does anything show where the sprite is on screen. I went back and verified the animation was set to loop and that each frame contained a sprite using the animation window. I also added a script that played the animation on start.

    No matter what I do I can't get the animation to play. What am I missing here?