Table of Contents

Class ExpandableAttribute

Namespace
Switchboard
Assembly
Switchboard.ExpandableAttribute.dll

Indicates that a serialized UnityEngine.Object field should be displayed with an expandable toggle that displays the object's properties.

public sealed class ExpandableAttribute : PropertyAttribute
Inheritance
PropertyAttribute
ExpandableAttribute

Constructors

ExpandableAttribute()

The default constructor.

public ExpandableAttribute()

ExpandableAttribute(bool)

A constructor with a runtime read-only argument.

public ExpandableAttribute(bool runtimeReadonly)

Parameters

runtimeReadonly bool

Properties

RuntimeReadonly

Whether the attribute specifies that the object property should be read-only at runtime.

public bool RuntimeReadonly { get; set; }