Component:DynamicReference`1: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page DynamicReference`1 (Component) to Component:DynamicReference`1: Creating component Namespace
Automated: update Categories
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
{{Table ComponentFields
{{Table ComponentFields
|VariableName|String|The name of the dynamic variable the field will be tied to
|VariableName|String|The name of the dynamic variable the field will be tied to
|TargetReference|SyncRef`1|The reference that will be used  
|TargetReference|{{RootFieldType|RelayRef`1|[[Type:SyncRef`1|SyncRef`1]]<T>}}|TypeAdv1=true|The reference that will be used
|OverrideOnLink|Bool|If true, the field's value will be written to a space when moved into it
|OverrideOnLink|Bool|If true, the field's value will be written to a space when moved into it
}}
}}
Line 15: Line 15:
</translate>
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|DynamicValueVariable`1 (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Dynamic Reference`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|DynamicValueVariable`1 (Component){{#translation:}}]]
[[Category:Generic Components{{#translation:}}|Dynamic Reference`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Reference`1]]

Latest revision as of 20:26, 3 March 2024

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


Intoduction

The DynamicReference`1 component points at a field containing a reference type (such as the Reference field of a ReferenceField. The value of the its variable is whatever the field contains, and the field will be updated if the variable is written to.

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 the field will be tied to
TargetReference direct RelayRef`1<SyncRef`1<T>> The reference that will be used
OverrideOnLink Bool If true, the field's value will be written to a space when moved into it

Behavior

Examples

Related Components