private void Initial() { _uiNotifier = _NavigationManager.MasterManager.UINotifier; _levelsManager = new LevelsManager(); _buttonsManager = new ButtonsMenuManager(_uiNotifier); _uiManager = new UIMenuManager(_levelsManager); }
private void Initial() { _updateManager = _NavigationManager.MasterManager.UpdateManager; _gameplayLogicManager = new GameObject("Gameplay Logic Manager").AddComponent <GameplayLogicManager>(); GameObject empty = new GameObject("---------------"); _gameplayNotifier = _NavigationManager.MasterManager.GameplayNotifier; _uiNotifier = _NavigationManager.MasterManager.UINotifier; _taskNotifier = new Notifier(); _inputManager = new InputManager(_gameplayNotifier); _spawnManager = _NavigationManager.MasterManager.SpawnManager; _checkManager = new CheckManager(); _taskManager = new TaskManager(_level.LevelTasks); _uiManager = new UIGameplayLevelManager(_level); _buttonsManager = new ButtonsGameplaySceneManager(_uiNotifier); _cellRegistrator = new CellRegistrator(_gameplayNotifier, _updateManager); _board = new Board(_level.BoardWidth, _level.BoardHeight, _spawnManager, _checkManager, _cellRegistrator); }
private void Initial() { _uiNotifier = _NavigationManager.MasterManager.UINotifier; _buttonsManager = new ButtonsStartScreenManager(_uiNotifier); _uiManager = new UIStartScreenSceneManager(); }