override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    {
        enemyMelee   = enemyMelee ?? animator.GetComponent <EnemyMeleeScript>();
        jottunScript = jottunScript ?? animator.GetComponent <JottunScript>();

        enemyMelee.ToggleAttackTrigger(true);
    }
 public override void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex)
 {
     if (!isDone && animatorStateInfo.normalizedTime > isAttackingTimer)
     {
         enemyMelee.ToggleAttackTrigger(false);
     }
 }
 override public void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     enemyMelee.ToggleAttackTrigger(false);
 }