public void OnApplicationStart()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

            server = new HTTPServer(statusManager);
            server.InitServer();
        }
Beispiel #2
0
        public void OnApplicationStart()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

            SceneManager.activeSceneChanged += this.OnActiveSceneChanged;

            server = new HTTPServer(statusManager);
            server.InitServer();
        }
Beispiel #3
0
        public void OnApplicationStart()
        {
            if (instance != null)
            {
                return;
            }
            instance = this;

            PluginTickerScript.TouchInstance();

            server = new HTTPServer(statusManager);
            server.InitServer();

            SceneManager.activeSceneChanged += OnActiveSceneChanged;
        }
        public void OnEnable()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

            PluginLog("HTTP STATUS ENABLED");

            SceneManager.activeSceneChanged += this.OnActiveSceneChanged;

            server = new HTTPServer(statusManager);
            server.InitServer();
        }