◆ ExposeProperty()

static bool ExposeProperty ( Rect  drawRect,
ExposedMember  field,
GUIStyle  guiStyle,
object  undoObject = null,
GUIContent  overrideLabel = null,
bool  useGroups = true 
)
static
Parameters
drawRectdefines where to draw property
fieldThe Property field to draw. Note: The property's type must have a registered ExposeDelegatesForType, in order for anything to be drawn. All the types specified in DefaultExposeDelegateByType are automatically registered.
guiStyle
undoObjectWhen provided, this object will be recorded using Unity Undo functions, before making user changes to the property.
overrideLabelOptional, when included will use this label, rather than the standard label for the ExposedPRoperty
useGroupsWhen true, elements in a group will not be displayed, unless the group is folded out.
Returns
returns true if any changes have been made by the user. False if no changes have been made. False if no ExposeDelegatesForType has been registered for the properties type.

References MemberExposerFunctions.InternalExposeProperty().

Referenced by LimitedListMember.DrawElementProperty(), and ExposedObjectMembers.ExposeProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: