示例#1
0
        public void OnApplicationStart()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

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

            SceneManager.activeSceneChanged += this.OnActiveSceneChanged;

            server = new HTTPServer(statusManager);
            server.InitServer();
        }
示例#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();
        }