Component:ReferenceGrabReceiver: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
add info
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
Reference Grab Receiver is a component that can receive a reference dropped onto a UIX [[Component:Canvas|Canvas]] [[Component:Button|Button]] by a user. The reference dropped is then stored into the field specified by <code>Target Reference</code>
{{Infobox Component
{{Infobox Component
|Image=ReferenceGrabReceiverComponent.png
|Image=ReferenceGrabReceiverComponent.png
|Name=ReferenceGrabReceiver
|Name=ReferenceGrabReceiver
}}
}}
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TargetReference|ISyncRef|
|TargetReference|ISyncRef| the place to store the received value, ex: the <code>Reference</code> on a [[Component:ReferenceField|Reference Field Component]]
}}
}}


Line 22: Line 19:
<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
This can be used to allow the user to put in slots, music, or even value fields in a uix canvas for installers/settings for different systems.


<!--T:6-->
<!--T:6-->
Line 27: Line 25:
</translate>
</translate>
[[Category:Components{{#translation:}}|Reference Grab Receiver]]
[[Category:Components{{#translation:}}|Reference Grab Receiver]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Grab Receiver]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Grab Receiver]]

Revision as of 17:33, 19 March 2024

Reference Grab Receiver is a component that can receive a reference dropped onto a UIX Canvas Button by a user. The reference dropped is then stored into the field specified by Target Reference

Component image 
ReferenceGrabReceiver component as seen in the Scene Inspector


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.
TargetReference ISyncRef the place to store the received value, ex: the Reference on a Reference Field Component

Behavior

Examples

This can be used to allow the user to put in slots, music, or even value fields in a uix canvas for installers/settings for different systems.

Related Components