How Do I Know When Animation Is Finished Unity?

How Do I Know When Animation Is Finished Unity? public IEnumerator CheckAnimationCompleted(string CurrentAnim, Action Oncomplete) while (!Animator. GetCurrentAnimatorStateInfo(0). IsName(CurrentAnim)) yield return null; if (Oncomplete != null) Oncomplete(); } What is motion time unity? To be clear, Motion Time is a way to force the animation playhead to a position. It does not affect overall playback