- Home /
Question by
Liam Wilson · Jan 17, 2015 at 06:38 PM ·
animationanimationclipanimationevent
How to check if a animation is completed
I want something to happen after an animation finished im not sure how to check if the animation was completed... thanks in advance :D
Comment
Assu$$anonymous$$g that u are using the mecanim state $$anonymous$$aschine u could check if the animation is still playing. http://answers.unity3d.com/questions/362629/how-can-i-check-if-an-animation-is-being-played-or.html
Answer by Dhjee · Mar 24, 2015 at 03:53 PM
http://docs.unity3d.com/ScriptReference/AnimationEvent.html
You can check this if you want to do it by script, but you can also do it directly in the Animation editor.