- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [CreateAssetMenu(menuName ="Finite State Machine/Action/Debug")]
- public class DebugAction : Action
- {
- [SerializeField] private string text;
- public override void Act(FiniteStateMachine fsm)
- {
- Debug.Log(fsm.gameObject.name+" : "+this.name+" : "+text);
- }
- }