private static void AddWindow() { Rect wr = new Rect(0, 0, 400, 150); ABManager window = (ABManager)EditorWindow.GetWindowWithRect(typeof(ABManager), wr, true, "ABManager"); window.Show(); }
static void Init() { ABManager w = (ABManager)EditorWindow.GetWindow(typeof(ABManager), false, "ABManager", true); w.Show(); }