コード例 #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;
        }
コード例 #4
0
        public void OnEnable()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

            PluginLog("HTTP STATUS ENABLED");

            SceneManager.activeSceneChanged += this.OnActiveSceneChanged;

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