◆ ExposeProperty()

bool ExposeProperty ( Rect  drawRect,
string  name,
GUIContent  overrideLabel = null,
GUIStyle  guiStyle = null,
bool  useGroups = true 
)
Parameters
drawRectRect used by the drawing function, specifies size and placement of the control.
nameIdentifier of the field to find, as a string.
overrideLabelBy default, the identifier (nicified), will be used as the label. Specify a non-null value here to override this label, and provide your own.
guiStylepassed to the drawing function.
useGroupsSpecifies if the grouping options and their current foldout states, should be used to determine weather or not to draw this field.Default value is true, specify false to ensure field is drawn regardless.
Returns
return true if the value has been changed by the user, false otherwise.

References ExposedObjectMembers.exposedObject, MemberExposerFunctions.ExposeProperty(), and ExposedObjectMembers.recordUndoOnChanges.

+ Here is the call graph for this function: