public static void CloseWindow() { if (s_GradientPicker != null) { s_GradientPicker.Close(); GUIUtility.ExitGUI(); } }