Пример #1
0
 public void ExitState(FiniteStateMachineComponent component)
 {
     foreach (var behaviour in Behaviours)
     {
         behaviour.OnStateExit(component, this);
     }
 }
Пример #2
0
 public void DrawGizmos(FiniteStateMachineComponent component)
 {
     foreach (var behaviour in Behaviours)
     {
         behaviour.OnUpdateDrawGizmos(component, this);
     }
 }
Пример #3
0
 public virtual void OnUpdateDrawGizmos(FiniteStateMachineComponent component, State state)
 {
 }
Пример #4
0
 /// <summary>
 /// Called when the <see cref="FiniteStateMachineProfile"/> transition from this state
 /// </summary>
 public virtual void OnStateExit(FiniteStateMachineComponent component, State state)
 {
 }