How can I stop make unity continuous looping
what I have done
1- I add animator to my object.
2- I create animator controller
3- I create my animation
4- finally link my animation controller to my object
it works just fine , but it keep looping
how can I make it animate just once
The best thing you can do is: - From "Any state" to "Jump" (you should create a blend tree between Jump and Fall)--->in the arrow uncheck "Has exit time" and set up a new Bool "JumpBool" (for example). From "Jump" to "Idle" when "JumpBool" is false.
When you want to pause the animation you can say anim. speed = 0; and if you want to make it back to the normal speed you can type anim.
In your project panel select your animation and in inspector unCheck Loop Time property. That will stop looping your animation :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With