Skip to main content

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.

Constructors​

MemberWhat 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​

MemberWhat it is
string BoolName { get; private set; }Name of the bool field that picks the label.