Example #1
0
 /// <summary>
 /// Performs initialization steps after the game has loaded into the main menu for the first time
 /// </summary>
 private void InitAfterLoad(ScenesTransitionSetupDataSO ignored1)
 {
     BSEvents.lateMenuSceneLoadedFresh -= InitAfterLoad;
     PlatformManager.Init();
 }
 /// <summary>
 /// Spawns all registered custom objects, as required by the selected <see cref="CustomPlatform"/>
 /// </summary>
 private void SpawnCustomObjects()
 {
     PlatformManager.SpawnQueue(_lightManager);
 }
Example #3
0
 public PlatformSpawner(SiraLog siraLog, System.Random random, MaterialSwapper materialSwapper, AssetLoader assetLoader, EnvironmentHider environmentHider, PlatformManager platformManager, GameScenesManager gameScenesManager, LobbyGameStateModel lobbyGameStateModel)
 {
     _siraLog             = siraLog;
     _random              = random;
     _materialSwapper     = materialSwapper;
     _assetLoader         = assetLoader;
     _environmentHider    = environmentHider;
     _platformManager     = platformManager;
     _gameScenesManager   = gameScenesManager;
     _lobbyGameStateModel = lobbyGameStateModel;
 }
Example #4
0
 /// <summary>
 /// Performs initialization steps after the game has loaded into the main menu for the first time
 /// </summary>
 private void InitAfterLoad()
 {
     BSEvents.menuSceneLoadedFresh -= InitAfterLoad;
     PlatformManager.Init();
 }