s&box docs

public class Sandbox.SerializedProperty.CustomizableSerializedProperty : Sandbox.SerializedProperty.Proxy

A proxy around a SerializedProperty that allows overriding any property for UI customization. Unset values fall through to the underlying property.

Constructors

Showing 1 constructors

Methods

Showing 18 methods

public void AddAttribute(System.Attribute attribute)

Append an extra attribute visible to the editor and control widgets.

public virtual System.Collections.Generic.IEnumerable`1<System.Attribute> GetAttributes()

Returns the underlying attributes merged with any added via `Sandbox.SerializedProperty.CustomizableSerializedProperty.AddAttribute(System.Attribute)`.

public void SetDescription(string value)

Override the tooltip / description text.

public void SetDisplayName(string value)

Override the label shown in the inspector.

public void SetGroupName(string value)

Override which inspector group this property appears in.

public void SetHasChanges(bool value)

Override the dirty/changed flag.

public void SetIsEditable(bool value)

Force the property to be editable or read-only.

public void SetIsField(bool value)

Override whether this appears as a field.

public void SetIsMethod(bool value)

Override whether this appears as a method.

public void SetIsProperty(bool value)

Override whether this appears as a property.

public void SetIsPublic(bool value)

Override the public visibility flag.

public void SetIsValid(bool value)

Override the validity flag.

public void SetName(string value)

Override the property's internal name.

public void SetOrder(int value)

Override the sort order within the inspector.

public void SetParent(Sandbox.SerializedObject value)

Override the parent SerializedObject.

public void SetPropertyType(System.Type value)

Override the reported property type.

public void SetSourceFile(string value)

Override the reported source file path.

public void SetSourceLine(int value)

Override the reported source line number.

Properties

Showing 17 properties

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.SerializedProperty.CustomizableSerializedProperty

On this page

Constructorspublic CustomizableSerializedProperty(Sandbox.SerializedProperty property)Methodspublic System.Void AddAttribute(System.Attribute attribute)public virtual System.Collections.Generic.IEnumerable`1<System.Attribute> GetAttributes()public System.Void SetDescription(System.String value)public System.Void SetDisplayName(System.String value)public System.Void SetGroupName(System.String value)public System.Void SetHasChanges(System.Boolean value)public System.Void SetIsEditable(System.Boolean value)public System.Void SetIsField(System.Boolean value)public System.Void SetIsMethod(System.Boolean value)public System.Void SetIsProperty(System.Boolean value)public System.Void SetIsPublic(System.Boolean value)public System.Void SetIsValid(System.Boolean value)public System.Void SetName(System.String value)public System.Void SetOrder(System.Int32 value)public System.Void SetParent(Sandbox.SerializedObject value)public System.Void SetPropertyType(System.Type value)public System.Void SetSourceFile(System.String value)public System.Void SetSourceLine(System.Int32 value)Propertiespublic virtual System.String Sandbox.SerializedProperty.CustomizableSerializedProperty.Description { get; set; }public virtual System.String Sandbox.SerializedProperty.CustomizableSerializedProperty.DisplayName { get; set; }public virtual System.String Sandbox.SerializedProperty.CustomizableSerializedProperty.GroupName { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.HasChanges { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsEditable { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsField { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsMethod { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsProperty { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsPublic { get; set; }public virtual System.Boolean Sandbox.SerializedProperty.CustomizableSerializedProperty.IsValid { get; set; }public virtual System.String Sandbox.SerializedProperty.CustomizableSerializedProperty.Name { get; set; }public virtual System.Int32 Sandbox.SerializedProperty.CustomizableSerializedProperty.Order { get; set; }public virtual Sandbox.SerializedObject Sandbox.SerializedProperty.CustomizableSerializedProperty.Parent { get; set; }public virtual System.Type Sandbox.SerializedProperty.CustomizableSerializedProperty.PropertyType { get; set; }protected virtual Sandbox.SerializedProperty Sandbox.SerializedProperty.CustomizableSerializedProperty.ProxyTarget { get; set; }public virtual System.String Sandbox.SerializedProperty.CustomizableSerializedProperty.SourceFile { get; set; }public virtual System.Int32 Sandbox.SerializedProperty.CustomizableSerializedProperty.SourceLine { get; set; }Metadata