// get current animation state name. if( anim_Animator.GetCurrentAnimatorStateInfo(0).IsName("AnimationName")) { // Code ! }