Newer
Older
Dreamsturbia-Project-IADE-Unity3D / Assets / Scripts / AI / FSM / Actions / StopAction.cs
@Rackday Rackday on 21 Aug 279 bytes Project Added
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName = "Finite State Machine/Action/Stop")]
public class StopAction : Action
{
    public override void Act(FiniteStateMachine fsm)
    {
        fsm.GetAgent().Stop(); 
    }
}