public void OnApplicationStart() { if (initialized) { return; } initialized = true; server = new HTTPServer(statusManager); server.InitServer(); }
public void OnApplicationStart() { if (initialized) { return; } initialized = true; SceneManager.activeSceneChanged += this.OnActiveSceneChanged; server = new HTTPServer(statusManager); server.InitServer(); }
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(); }