Files
2024-11-20 15:21:28 +01:00

18 lines
566 B
C#

// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.StateMachine)]
[Note("Stop this FSM. If this FSM was launched by a Run FSM action, it will trigger a Finish event in that state.")]
[Tooltip("Stop this FSM. If this FSM was launched by a Run FSM action, it will trigger a Finish event in that state.")]
public class FinishFSM : FsmStateAction
{
public override void OnEnter()
{
Fsm.Stop();
}
}
}