◆ GetValue()

static object GetValue ( this SerializedProperty  property,
bool  displayWarnings = false 
)
static
Parameters
propertyThe function will extract the runtime contents of this SerializedProperty.
displayWarningsWhen True, and warnings generated when attempting to get value referenced by the SerializedProperty, will be displayed in the console. Defaults to False (failure without notification).
Returns
The value contained in the filed. This value can be cast to the appropriate class in order to access it's members.