Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Scripts / NPC / BlackSmith / Actions / StopAgent.cs
@Rackday Rackday on 29 Oct 265 bytes Major Update
using MyCollections.AI.FinitStateMachine;
using UnityEngine;

[CreateAssetMenu(menuName = "Finite State Machine/Action/StopAgent")]
public class StopAgent : Action
{
    public override void Run(FSM fsm)
    {
        fsm.Controller.Agent.agentStop = true;
    }
}