BoolValueLabeling
A class in Alta.Attributes, the global namespace.
Inspector attribute that labels a field one of two ways depending on a named bool, with optional default values for each case. Extends ConditionalLabeling.
- Listed in Other Alta assemblies
- Inherits or implements
ConditionalLabeling
Constructors
| Member | What it is |
|---|---|
BoolValueLabeling(string hasName, string dontHasName, string boolName) | Creates a BoolValueLabeling from hasName, dontHasName, hasDefaultValue, dontHasDefaultValue and boolName. |
BoolValueLabeling(string hasName, string dontHasName, float hasDefaultValue, float dontHasDefaultValue, string boolName) | Creates a BoolValueLabeling from hasName, dontHasName, hasDefaultValue, dontHasDefaultValue and boolName. |
Properties
| Member | What it is |
|---|---|
string BoolName { get; private set; } | Name of the bool field that picks the label. |