Component image
The ButtonReferenceCycle component holds a list of references and takes in a TargetReference
of a provided type. When an IButton is pressed while this component is on it, this will cycle through the listed references and send the data through the TargetReference
.
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 reference data to send outwards. |
Targets
|
list of T | The list of references to cycle through. |
Usage
Useful for needing a way to cycle through references of any type.