|
AVR.Core.Attributes.ConditionalHideInInspector.ConditionalHideInInspector |
( |
string |
hideConditionPropertyName, |
|
|
float |
compareValue, |
|
|
compareType |
ctype = compareType.EQUAL , |
|
|
bool |
invertCondition = false |
|
) |
| |
|
inline |
Hides a field in the Inspector if a given condition is true. - Parameters
-
hideConditionPropertyName | The first parameter is always the name of the field that represents the condition. The name is case-sensitive. |
invertCondition | Will invert the given condition. Hence why in the example above, tracking = false hides the type field. |
compareValue | Optionally, one can compare the given field with some given value. The type of comparison is determined by: |
ctype | Type of comparison performed if a compareValue is provided. Examples: |
Definition at line 157 of file AVR_Attributes.cs.
string hideConditionPropertyName
|