Begin a vertical group with a toggle to enable or disable all the controls within at once.
public static bool BeginToggleGroup(GUIContent label, bool toggle) { toggle = ToggleLeft(label, toggle, EditorStyles.boldLabel, new GUILayoutOption[0]); EditorGUI.BeginDisabled(!toggle); GUILayout.BeginVertical(new GUILayoutOption[0]); return toggle; }