public static void ShowWindow() { WindowInstance = EditorWindow.GetWindow <ABInspectorWindow>(false, "ABInspectorWindow"); WindowInstance.minSize = new Vector2(1200.0f, 600.0f); WindowInstance.wantsMouseMove = true; WindowInstance.titleContent = new GUIContent("ABInspector"); WindowInstance.Show(); }
private void OnDestroy() { m_abEditor.OnDestory(); m_abEditor = null; WindowInstance = null; selectObj = null; OrganizationTreeViewState = null; OrganizationTreeView = null; Debug.Log("OnDestroy"); }