Component:DynamicValueVariableDriver`1: Difference between revisions

From Resonite Wiki
imported>Chemicalcrux
Create the page
 
type not types
Line 13: Line 13:
This component drives a value-type field with the contents of the dynamic variable it references.
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 [[:Category:Types:Float|float]] type.
For demonstration purposes, the component is shown here with a [[:Category:Type:Float|float]] type.


<!--T:3-->
<!--T:3-->

Revision as of 18:09, 18 January 2024


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

Behavior

Examples

Related Components