public void OnThemeChanged() { plyEdCoroutine obj = this.loader; if (obj != null) { obj.Stop(); } this.loader = null; this.treeView = null; }
public void Clear() { this._loading = false; plyEdCoroutine loader = this._loader; if (loader != null) { loader.Stop(); } this.ev = null; this.def = null; this.firstBlock = null; this.hasUndefinedblocks = false; this.unlinkedBlocks.Clear(); }
public static void ReloadBlockDefs() { if (BloxBlocksList._instance != null) { plyEdCoroutine obj = BloxBlocksList._instance.loader; if (obj != null) { obj.Stop(); } BloxBlocksList._instance.treeView = null; BloxBlocksList._instance.loader = plyEdCoroutine.Start(BloxBlocksList._instance.Load(), true); EditorWindow obj2 = BloxBlocksList._instance.ed; if ((object)obj2 != null) { obj2.Repaint(); } } }