예제 #1
0
        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);
        }
예제 #2
0
        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);
        }