void Start() { DontDestroyOnLoad(this.gameObject); _UIManager.Initialize(); _PoolingManager.Initialize(); _GameDirector.LoadMenu(); }
void Update() { if (_gameInitialized) { return; } if (!_poolingManager.Initialized) { _poolingManager.Initialize(); return; } if (!_turnManager.gameObject.activeInHierarchy) { _turnManager.gameObject.SetActive(true); return; } InitializeGame(); _gameInitialized = true; }
void Start() { _PoolingManager.Initialize(); _MapGenerator.CreateMap(); _LevelManager.Initialize(); }