This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image ![](/images/thumb/0/03/BooleanReferenceDriver%601Component.png/510px-BooleanReferenceDriver%601Component.png)
Boolean Reference Driver`1 component as seen in the Scene Inspector
![](/images/thumb/0/03/BooleanReferenceDriver%601Component.png/510px-BooleanReferenceDriver%601Component.png)
The BooleanReferenceDriver component is used to drive a reference to one value or another, depending on its State field.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
State
|
Bool | Determines whether TargetReference should be driven to TrueTarget or to FalseTarget. |
TargetReference
|
direct RefDrive`1<T> | The field that should be driven. |
FalseTarget
|
T | The value that the field will be driven to if State is false. |
TrueTarget
|
T | The value that the field will be driven to if State is true. |