delegate bool ExposeMemberLayoutDelegate | ( | ExposedMember | field, |
GUILayoutOption[] | guiOptions, | ||
object | undoObject = null , |
||
GUIContent | overrideLabel = null |
||
) |
field | the field to be drawn |
guiOptions | layout options to be applied to the drawn control. These are simply passed into any EditorGUILayout functions called. |
undoObject | Optional: if provided the object will be recorded via MemberExposerFunctions.recordUndo(undoObject, field). This function will check against null, so there is no need for the user to do so also. |
overrideLabel | Optional: if NOT null, this label should displayed, rather than the standard field label. |