예제 #1
0
 public void SwitchState(BaseGameState state)
 {
     _state?.Cleanup();
     _state = state;
     _state?.Initialize();
 }