public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     animator.GetEntity().SendMessage(EntityMessages.OnStateExit, stateInfo);
 }