Example #1
0
 protected virtual void CreateManagers()
 {
     TimeManager.CreateFromPrefab(_timeManagerPrefab, ManagersContainer);
     AudioManager.CreateFromPrefab(_audioManagerPrefab, ManagersContainer);
     EffectsManager.Create(ManagersContainer);
     ObjectPoolManager.CreateFromPrefab(_objectPoolManagerPrefab, ManagersContainer);
     ActorManager.CreateFromPrefab(_actorManagerPrefab, ManagersContainer);
     ViewerManager.CreateFromPrefab(_viewerManagerPrefab, ManagersContainer);
     InputManager.CreateFromPrefab(_inputManagerPrefab, ManagersContainer);
     SceneManager.CreateFromPrefab(_sceneManagerPrefab, ManagersContainer);
     TerrainManager.Create(ManagersContainer);
     ScriptingManager.Create(ManagersContainer);
     SpawnManager.CreateFromPrefab(_spawnManagerPrefab, ManagersContainer);
 }