예제 #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();
 }
예제 #2
0
 /// <summary>
 /// Spawns all registered custom objects, as required by the selected <see cref="CustomPlatform"/>
 /// </summary>
 private void SpawnCustomObjects()
 {
     PlatformManager.SpawnQueue(_lightManager);
 }
예제 #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;
 }
예제 #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();
 }