IndieGame/client/Assets/ParadoxNotion/NodeCanvas/Modules/StateMachines/IStateCallbackReceiver.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

14 lines
520 B
C#

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);
}
}