Component:ButtonLoopSet

From Resonite Wiki
Component image 
Button Loop Set component as seen in the Scene Inspector


The ButtonLoopSet component takes in an IPlayable. When an IButton is pressed while this component is in the same slot, it will set the loop on this playable media depending on what is set up in this component.

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.
Playback IPlayable The referenced playable media.
OnPress LoopSetOptions Sets the type of loop for this media when pressed.
OnRelease LoopSetOptions Sets the type of loop for this media when released.

Usage

Basically a loop button that can be setup anywhere.

Examples

See Also