示例#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)
 {
 }