Exemple #1
0
 public void RemoveEnterEventBeforeExit <C>(Action a) where C : StateNormal <C>, new()
 {
     processEnterEvent <C>(a, StateNormal <C> .GetExitEvents(), ee => ee.RemoveEnterEvent);
 }
Exemple #2
0
 public void AddEnterEventBeforeExit <C>(Action a, MonoBehaviourHasDestroyEvent mb) where C : StateNormal <C>, new()
 {
     processEnterEvent <C>(a, StateNormal <C> .GetExitEvents(), ee => ee.AddEnterEvent, mb);
 }