void ApplyAnimation()
 {
     if (scriptAnimator != null)
     {
         scriptAnimator.SetInteger("State", stateAnimation.GetHashCode());
     }
 }