You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public abstract void OnEntered(StateMachine<T> machine, State previous, T subject, object parameter = null);
/// <summary>
/// <para> Only happens in StateMachine<T>.Update().</para>
/// <para> It's not guaranteed that this will get called between `OnEntered()` and `OnLeaving()`, because these 2 methods can `ChangeState()` too.</para>
/// </summary>
public abstract void Update(StateMachine<T> machine, T subject);
public abstract void OnLeaving(StateMachine<T> machine, State next, T subject, object parameter = null);