How to stop a 2D animation on the last frame?
I am trying to make a 2D animation that will stop on the last frame but it just keeps looping. How do I make it stop?
P.S I am very new to unity.
In the animator I have given the animation a transition to exit which should happen after the animation has finished. I have gave the transition an exit time of 1 and transition duration of 0 but it just keeps looping.
Answer by Tashmore · Sep 24, 2015 at 12:09 PM
Hello, I'm on my phone so this may be complicated to explain but it is normally possible to stop an animation from looping. When you are in the animator, you may be able to click on your Object states and then, in the inspector, you should see a check box ''Loop time'', uncheck it and it should normally stop at the last frame if I'm right !
Sorry if it's a bit confusing but I don't have Unity right in front of me !
Quentin
When I do this and the animation starts it automatically starts at the last frame without going through the animation phase, how can I fix this?