Class BoolReference
A flexible reference to a BoolVariable or a constant bool value.
[Serializable]
public class BoolReference : BaseVariableReference<BoolVariable, bool>
Inheritance
Inherited Members
- BaseVariableReference<BoolVariable, bool>.UseConstant
- BaseVariableReference<BoolVariable, bool>.ConstantValue
- BaseVariableReference<BoolVariable, bool>.Variable
- BaseVariableReference<BoolVariable, bool>.Value
Remarks
This class allows toggling between using a constant boolean or a reference to a BoolVariable.
Constructors
BoolReference()
Initializes a new instance of the BoolReference class with default settings.
public BoolReference()
BoolReference(bool)
Initializes a new instance of the BoolReference class using a constant value.
public BoolReference(bool value)
Parameters
| Name | Type | Description |
|---|---|---|
value | bool | The constant boolean value to assign. |