Skip to main content

Class BoolReference

A flexible reference to a BoolVariable or a constant bool value.

[Serializable]
public class BoolReference : BaseVariableReference<BoolVariable, bool>

Inheritance​

Inherited Members​

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​

NameTypeDescription
valueboolThe constant boolean value to assign.