Beispiel #1
0
        protected override void CreateManagers()
        {
            base.CreateManagers();

            GameManager.CreateFromPrefab(_gameManagerPrefab, ManagersContainer);
            GameUIManager.CreateFromPrefab(_gameUiManagerPrefab, ManagersContainer);
            PlayerManager.CreateFromPrefab(_playerManager, ManagersContainer);
            NPCManager.CreateFromPrefab(_npcManager, ManagersContainer);
            GoalManager.CreateFromPrefab(_goalManager, ManagersContainer);
        }
Beispiel #2
0
        protected override void CreateManagers()
        {
            base.CreateManagers();

            DebugManager.CreateFromPrefab(_debugManagerPrefab, ManagersContainer);
            GameManager.CreateFromPrefab(_gameManagerPrefab, ManagersContainer);
            PlayerManager.CreateFromPrefab(_playerManagerPrefab, ManagersContainer);
            SpawnManager.Create(ManagersContainer);
            GoalManager.CreateFromPrefab(_goalManagerPrefab, ManagersContainer);
            UIManager.CreateFromPrefab(_uiManagerPrefab, ManagersContainer);
        }