Component:ReferenceProxySource: Difference between revisions

From Resonite Wiki
Created the see also section with links to similar components.
Added links.
 
Line 8: Line 8:


<!--T:2-->
<!--T:2-->
The '''ReferenceProxySource''' component allows for the [[User|user]] to grab a reference off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.
The '''ReferenceProxySource''' component allows for the [[User|user]] to grab a [[Reference Type|reference]] off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.


<!--T:3-->
<!--T:3-->
Line 17: Line 17:
<!--T:4-->
<!--T:4-->
== Usage ==
== Usage ==
This is used to carry references to other fields that are looking for it. Using this component along with the [[Component:ReferenceGrabReceiver|ReferenceGrabReceiver]] and [[Component:ReferenceField|ReferenceField]] of the type [[Type:IWorldElement|IWorldElement]] will allow the user to carry the reference from source to receiver directly.
This is used to carry references to other fields that are looking for it. Using this component along with the [[Component:ReferenceGrabReceiver|ReferenceGrabReceiver]] and [[Component:ReferenceField|ReferenceField]] of the type [[Type:IWorldElement|IWorldElement]] will allow the user to carry the [[Reference Type|reference]] from source to receiver directly.


<!--T:5-->
<!--T:5-->

Latest revision as of 09:57, 28 July 2024

Component image 
ReferenceProxySource component as seen in the Scene Inspector


The ReferenceProxySource component allows for the user to grab a reference off from a UIX element. This requires a Button component to work.

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.
Reference direct SyncRef The reference itself.

Usage

This is used to carry references to other fields that are looking for it. Using this component along with the ReferenceGrabReceiver and ReferenceField of the type IWorldElement will allow the user to carry the reference from source to receiver directly.

Examples

See Also