Component:DynamicField`1

From Resonite Wiki
Revision as of 19:14, 23 October 2024 by 989onan (talk | contribs) (not a styb)


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


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


Intoduction

The DynamicField`1 component points at a field containing a value type. The value of the its variable is whatever the field contains, and the field will be updated if the variable is written to.

For demonstration purposes, this component is shown 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 dynamic variable to be used
TargetField direct RelayRef`1<IField`1<T>> The field that will be used as the dynamic variable's value
OverrideOnLink Bool If true, the value of the field will be written when this component is moved into a new space

Behavior

Examples

Related Components