mode = EditorGUILayout.Popup(label, mode, options);
if (EditorGUI.EndChangeCheck())
{
Undo.RecordObject(property.objectReferenceValue, property.name);
}
public static void DrawCascadeSplitGUI<T>(ref SerializedProperty shadowCascadeSplit)