Component:DynamicField`1

From Resonite Wiki
Revision as of 13:35, 8 February 2021 by imported>Chemicalcrux (Use generic type.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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 IField<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