public static void Export() { if (mMenu == null) { mMenu = GetWindow(typeof(EditorMenu)) as EditorMenu; } mMenu.Show(); }