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