(Redirected from Component:ValueDriver`1)
Component image
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Makes one DriveTarget
's value be set to ValueSource
value every game tick.
Usage
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. |
ValueSource
|
IValue`1<T> | The value field to get a value from. |
DriveTarget
|
field drive of T | The value field to set to the value of ValueSource .
|
Behavior
Examples
This is useful for a lightweight version of Value Copy to make one value equal to another, when write back isn't needed.