Component:ReferenceGrabReceiver

From Resonite Wiki
Revision as of 17:33, 19 March 2024 by 989onan (talk | contribs) (add info)

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