private void Start() { Logger.Initialize(new[] { LoggerSection.GameSnapshots, LoggerSection.Network }, true); Logger.LogEvent(LoggerSection.Initialization, "Started server initialization"); scenesManager.Initialize(ScenesInitializationCallback); metaMonoBehaviours.Initialize(); clientConnectionsListener.StartListening(); scenesManager.LoadScene(Scenes.Lobby); }
public void Start() { Logger.Initialize(new[] { LoggerSection.Network, LoggerSection.GameSnapshots }, true); Logger.LogEvent(LoggerSection.Initialization, "Started client initialization"); metaMonoBehaviours.Initialize(); scenesManager.Initialize(InitializeScene); Logger.LogEvent(LoggerSection.Initialization, "Initialized global environment"); scenesManager.LoadScene(Scene.MainMenu); }