public static GamePlayManager GetInstance()
 {
     if (instance == null)
         instance = new GamePlayManager();
     return instance;
 }
Пример #2
0
 public PauseState()
 {
     gameManager = GamePlayManager.GetInstance();
 }
 public MainMenuState()
 {
     gameManager = GamePlayManager.GetInstance();
 }