Component:ButtonReferenceSet

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Button Reference Set`1 component as seen in the Scene Inspector


The ButtonReferenceSet component takes in a Reference Type and a TargetReference. When an IButton is pressed while this component is on the same slot, this will send the reference to the provided TargetReference.

Fields

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 SyncRef`1<T> The target to send the reference outwards.
SetReference T The reference to set when the button is pressed.

Usage

This is similar to the Write ProtoFlux node but as a component instead.

Examples

Related Components