using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "AI/Action/IddleMelee")] public class IddleMeleeAction : Action { public override void Act(FiniteStateMachine fsm) { Debug.Log("On Iddle State"); fsm.GetComponent<Rigidbody>().velocity = new Vector3(0f, 0f, 0f); } }