IndieGame/client/Assets/ParadoxNotion/NodeCanvas/Modules/StateMachines/IStateCallbackReceiver.cs

14 lines
520 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
namespace NodeCanvas.StateMachines
{
///<summary>Implement this interface in any MonoBehaviour attached on FSMOwner gameobject to get relevant state callbacks</summary>
public interface IStateCallbackReceiver
{
///<summary>Called when a state enters</summary>
void OnStateEnter(IState state);
///<summary>Called when a state updates</summary>
void OnStateUpdate(IState state);
///<summary>Called when a state exists</summary>
void OnStateExit(IState state);
}
}