Component:DynamicField`1: Difference between revisions

From Resonite Wiki
Automated: update Categories
not a styb
Line 33: Line 33:
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Dynamic Field`1]]
[[Category:Components{{#translation:}}|Dynamic Field`1]]
[[Category:ComponentStubs]]
[[Category:Generic Components{{#translation:}}|Dynamic Field`1]]
[[Category:Generic Components{{#translation:}}|Dynamic Field`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Field`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Field`1]]

Revision as of 19:14, 23 October 2024


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