using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EnableGun : StateMachineBehaviour
{
    public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    {
       animator.gameObject.GetComponent<TeapotGun>().enabled = true;
    }
}
