Component:DynamicReferenceVariableDriver`1

From Resonite Wiki
Revision as of 06:31, 20 January 2024 by ProbablePrime (talk | contribs) (ProbablePrime moved page DynamicReferenceVariableDriver`1 (Component) to Component:DynamicReferenceVariableDriver`1: Creating component Namespace)


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


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


Intoduction

This component drives a field containing a reference type.

For demonstration purposes, this component uses an IWorldElement`1.

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 SyncRef<IWorldElement> The field to drive
DefaultTarget IWorldElement The reference to use if the dynamic variable cannot be resolved.

Behavior

Examples

Related Components