m Removed old Vids & Issues |
add info |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!--T:1--> | <!--T:1--> | ||
Data Preset reference is a component that takes any reference type for PresetReference. When this is triggered by a [[Component:DataPreset|DataPreset]], this sets <code>TargetReference</code> to <code>PresetReference</code>. | |||
{{Infobox Component | {{Infobox Component | ||
|Image=DataPresetReference`1Component.png | |Image=DataPresetReference`1Component.png | ||
Line 9: | Line 9: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|PresetReference| | |PresetReference|'''T'''|TypeAdv0=true|The field reference for the preset. Since this is a generic component, it can be used with any type of reference. | ||
|TargetReference|SyncRef`1| | |TargetReference|{{RootFieldType|RelayRef`1|[[Type:SyncRef`1|SyncRef`1]]<T>}}|TypeAdv1=true|A reference to the reference field of the same type as PresetReference. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
See [[DataPreset | See [[Component:DataPreset|DataPreset]] for usage. | ||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{ | {{Stub}} | ||
[[Category:Generics]] | [[Category:Generics]] | ||
[[Category:Components|Data Preset Reference`1]] | [[Category:Components:Data:Presets{{#translation:}}|Data Preset Reference`1]] | ||
[[Category:Components:Data: | [[Category:Components{{#translation:}}|Data Preset Reference`1]] | ||
[[Category:Generic Components{{#translation:}}|Data Preset Reference`1]] |
Latest revision as of 17:03, 1 May 2024
Data Preset reference is a component that takes any reference type for PresetReference. When this is triggered by a DataPreset, this sets TargetReference
to PresetReference
.
Component image
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. |
PresetReference
|
T | The field reference for the preset. Since this is a generic component, it can be used with any type of reference. |
TargetReference
|
direct RelayRef`1<SyncRef`1<T>> | A reference to the reference field of the same type as PresetReference. |
Usage
See DataPreset for usage.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.