◆ InternalExposeProperty()

static bool InternalExposeProperty ( bool  useLayout,
Rect  drawRect,
ExposedMember  field,
GUIStyle  guiStyle,
object  undoObject = null,
GUIContent  overrideLabel = null,
bool  useGroups = true,
GUILayoutOption[]  guiOptions = null 
)
static
Parameters
useLayoutspecifies weather in auto layout mode, or not
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.
guiStylestyle to be applied to drawn controls
undoObjectobject to be recorded via undo, before any changes are applied.
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.
guiOptionsOptional layout options to change how the property is displayed
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 UnityToolsCatDebug.ExposeMembersCategoryDetailsID, UnityToolsCatDebug.ExposeMembersCategoryID, ExposedMember.GetValue(), ExposedMember.Instance, ExposedMember.label, CatDebug.Log(), CatDebug.LogWarning(), ExposedMember.Name, ExposedMember.readOnly, MemberExposerFunctions.recordUndo(), ExposedMember.SetValue(), and ExposedMember.systemType.

Referenced by MemberExposerFunctions.ExposeProperty(), and MemberExposerFunctions.ExposePropertyLayout().

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