예제 #1
0
 internal void ProcessInput(GameEvent gameEvent, IInputContainer data)
 {
     Debug.Log($"Input Event: {gameEvent}, Data: {data}");
     if (_currentState.ProcessEvent(gameEvent, data, out GameState nextState))
     {
         GoToState(nextState);
     }
 }