public void ExitState(FiniteStateMachineComponent component) { foreach (var behaviour in Behaviours) { behaviour.OnStateExit(component, this); } }
public void DrawGizmos(FiniteStateMachineComponent component) { foreach (var behaviour in Behaviours) { behaviour.OnUpdateDrawGizmos(component, this); } }
public virtual void OnUpdateDrawGizmos(FiniteStateMachineComponent component, State state) { }
/// <summary> /// Called when the <see cref="FiniteStateMachineProfile"/> transition from this state /// </summary> public virtual void OnStateExit(FiniteStateMachineComponent component, State state) { }