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