I want to check if Animator has finished playing animation then the game object should move else it should wait for the animation to finish then move.
bool AnimationHasFinished()
{
return (myAnimator.GetCurrentAnimatorStateInfo(0).normalizedTime > 1.0f);
}
if(AnimationHasFinished())
{
// GameObject Move
}
How to wait for the animation to finish then move