This commit is contained in:
CortexCore
2024-11-03 16:42:23 +08:00
commit b125894cc3
5904 changed files with 1070129 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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);
}
}