Docsv2.12.12
Back to API Reference
Class

ParameterFieldAttribute

Inherits:Attribute
public int Order{ get }
public string Name{ get }
public string Type{ get }
public string Default{ get }
public string VisibleWhen{ get; set }

Optional visibility predicate. Format: "slotIndex:label" — this field is shown in the inspector only when the token at slotIndex resolves to the matching variant option label (or, for non-variant slots, when the token equals label verbatim). When hidden, the slot's value is dropped from the tag parameter on serialization.

[ctor]public ParameterFieldAttribute()