Component:DynamicValueVariableDriver

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Dynamic Value Variable Driver`1 component as seen in the Scene Inspector

Dynamic Value Variable Driver is a component that can drive a IField`1 (Value Holder) to the value assigned to a dynamic variable with the name VariableName. if the specified variable cannot be found, the value will revert to DefaultTarget how this works is explained on Dynamic Variables page.

Fields

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. Some components stop their functionality when this field is disabled, but some don't.
VariableName String The Variable name that will be used to link this component's refrenced value to the Dynamic Variables System.
Target field drive of T The value/reference to revert to when this component cannot find the specified VariableName dynamic variable.
DefaultValue T The value to revert to when one doesn't exist.

Usage

Examples

Related Components