Component:ValueMultiDriver: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ValueMultiDriver`1 (Component) to Component:ValueMultiDriver`1: Creating component Namespace
m Yosh moved page Component:ValueMultiDriver`1 to Component:ValueMultiDriver: remove `1 for components
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Value|T| Value of the specified type, which will be driven to all fields listed in <code>Drives</code>
|Value|'''T'''|TypeAdv0=true| Value of the specified type, which will be driven to all fields listed in <code>Drives</code>
|Drives|FieldDrive`1|TypeString1=FieldDrive<T>| A list of fields to be driven by this component
|Drives|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]&lt;T&gt;}}|TypeAdv1=true| A list of fields to be driven by this component
}}
}}
== Behavior ==
== Behavior ==
Line 18: Line 18:
</translate>
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Value Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Generic Components{{#translation:}}|Value Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|Value Multi Driver`1]]

Latest revision as of 17:40, 10 November 2024


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


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

Intoduction

The ValueMultiDriver`1 component allows you to drive multiple fields from a single value.

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.
Value T Value of the specified type, which will be driven to all fields listed in Drives
Drives list of FieldDrive`1<T> A list of fields to be driven by this component

Behavior

Examples

Related Components