- Home /
Perform an action after Animator is finished
I'm using Animator to play different animations for my main character:
private Animator anim;
...
anim.Play("Attack");
How can I play the full animation and then perform an action after the Attack animation is finished?
Comment
Answer by getyour411 · Apr 03, 2014 at 01:08 AM
https://docs.unity3d.com/Documentation/ScriptReference/AnimationClip-length.html
When the Coroutine is done, performAction()