CustomizableSerializedProperty
public class CustomizableSerializedProperty : Proxy A proxy around a SerializedProperty that allows overriding any property for UI customization. Unset values fall through to the underlying property.
Constructors
CustomizableSerializedProperty(SerializedProperty property) Properties
| Name | Type | Description |
|---|---|---|
Name virtual | String | |
DisplayName virtual | String | |
Description virtual | String | |
GroupName virtual | String | |
SourceFile virtual | String | |
Order virtual | Int32 | |
SourceLine virtual | Int32 | |
IsEditable virtual | Boolean | |
IsPublic virtual | Boolean | |
IsProperty virtual | Boolean | |
IsField virtual | Boolean | |
IsMethod virtual | Boolean | |
HasChanges virtual | Boolean | |
IsValid virtual | Boolean | |
Parent virtual | SerializedObject | |
PropertyType virtual | Type |
Methods
Void SetName(String value) Override the property's internal name.
Void SetDisplayName(String value) Override the label shown in the inspector.
Void SetDescription(String value) Override the tooltip / description text.
Void SetGroupName(String value) Override which inspector group this property appears in.
Void SetSourceFile(String value) Override the reported source file path.
Void SetOrder(Int32 value) Override the sort order within the inspector.
Void SetSourceLine(Int32 value) Override the reported source line number.
Void SetIsEditable(Boolean value) Force the property to be editable or read-only.
Void SetIsPublic(Boolean value) Override the public visibility flag.
Void SetIsProperty(Boolean value) Override whether this appears as a property.
Void SetIsField(Boolean value) Override whether this appears as a field.
Void SetIsMethod(Boolean value) Override whether this appears as a method.
Void SetHasChanges(Boolean value) Override the dirty/changed flag.
Void SetIsValid(Boolean value) Override the validity flag.
Void SetParent(SerializedObject value) Override the parent SerializedObject.
Void SetPropertyType(Type value) Override the reported property type.
virtual IEnumerable<Attribute> GetAttributes() Returns the underlying attributes merged with any added via Attribute).
Void AddAttribute(Attribute attribute) Append an extra attribute visible to the editor and control widgets.
Sandbox.System Declaring Type: SerializedProperty Full Name: Sandbox.SerializedProperty.CustomizableSerializedProperty