Newer
Older
Dreamsturbia-Project-IADE-Unity3D / Assets / Scripts / AI / FSM / Actions / DebugAction.cs
@Rackday Rackday on 21 Aug 356 bytes Project Added
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);
    }
}