Component:DynamicValueVariableDriver`1

From Resonite Wiki
Revision as of 18:30, 18 April 2024 by AmasterAmaster (talk | contribs) (Fixed link.)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
DynamicValueVariableDriver`1 component as seen in the Scene Inspector


Intoduction

This component drives a value-type field with the contents of the dynamic variable it references.

For demonstration purposes, the component is shown here with a float type.

Usage

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.
VariableName String The name of the variable to use
Target field drive of T The field to drive
DefaultValue T The value to use if the dynamic variable cannot be resolved.

Behavior

Examples

Related Components