Component:DynamicValueVariableDriver`1: Difference between revisions

From Resonite Wiki
type not types
m ProbablePrime moved page DynamicValueVariableDriver`1 (Component) to Component:DynamicValueVariableDriver`1: Creating component Namespace
(No difference)

Revision as of 06:30, 20 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