Ejemplo n.º 1
0
        public void OnApplicationStart()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

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

            SceneManager.activeSceneChanged += this.OnActiveSceneChanged;

            server = new HTTPServer(statusManager);
            server.InitServer();
        }
Ejemplo n.º 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();
        }