◆ GetStatsOfProperty()

static PropertyStats GetStatsOfProperty ( SerializedProperty  property,
PropertyDrawer  drawerInstance = null,
GUIContent  label = null 
)
static
Parameters
property
drawerInstanceHeight and thus the hasDetailsToDisplay flag is computed differently if called from with a property drawer's onGui.
labelGUI Context that specifies what should displayed. Used in this function to compute the height of the control.
Returns
Returns a PropertyStats instance that contains all the details regarding the specified SerializedProperty.

References PropertyStats.containerIsPersistent, PropertyStats.customPropertyDrawerType, PropertyStats.fieldType, PropertyStats.hasACustomPropertyDrawer, PropertyStats.hasACustomPropertyDrawerDerivedFromExpandableObjectPropertyDrawer, PropertyStats.hasADefultConstructor, PropertyStats.hasDetailsToDisplay, PropertyStats.isAnObjectReference, PropertyStats.isANonNullReference, PropertyStats.isASaveableObjectReference, PropertyStats.isASavedAsset, PropertyStats.propertyName, and EditorUtil.TypeOfCustomPropertyDrawer().

+ Here is the call graph for this function: