Exemplo n.º 1
0
 public GameStateMachine(GameStateController owner, Dictionary <StateTransition, IGameState> transitions)
 {
     _owner       = owner;
     _transitions = transitions;
 }
Exemplo n.º 2
0
 public IEnumerator Exit(GameStateController controller)
 {
     yield return(controller.UnloadScene(_menuScene));
 }