public static bool HasAnimationReachedLabel([NotNull] Animator2D animator2D, CharacterAnimationInfo animationInfo, [NotNull] string label)
 {
     if (!animator2D.get_reachedEndOfAnimation() && !label.Equals(animator2D.get_currentLabel(), StringComparison.OrdinalIgnoreCase))
     {
         return(!animationInfo.animationName.Equals(animator2D.get_animationName()));
     }
     return(true);
 }