Component:ReferenceProxySource: Difference between revisions

From Resonite Wiki
Added a description. Added descriptions to fields.
Created the see also section with links to similar components.
Line 23: Line 23:


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
* Similar to the [[Component:ValueFieldProxySource|ValueFieldProxySource]] and [[Component:ValueProxySource|ValueProxySource]] components.
 
</translate>
</translate>
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]

Revision as of 09:38, 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