Attack.cs
using UnityEngine;
using System.Collections;
public class Attack : StateMachineBehaviour
{
override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
{
animator.SetBool("Attack", false);
}
}