API Referenceglobal
HideIfAttributeclass
Hide this property if a given property within the same class has the given value. Used typically in the Editor Inspector.
Constructors1
Showing 1 constructors
public HideIfAttribute(string propertyName, object value)
| Parameter | Type | Description |
|---|---|---|
| propertyName | string | — |
| value | object | — |
No results match this filter.
Methods2
Showing 2 methods
No results match this filter.
Properties2
Showing 2 properties
public string HideIfAttribute.PropertyName { get; set; }
Property name to test.
Returns:
string—public object HideIfAttribute.Value { get; set; }
Property value to test against.
Returns:
object—No results match this filter.