Component:ButtonPlaybackAction

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


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

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.
Playback IPlayable The playable media itself.
OnHover PlaybackAction The action to take when the button is hovered over.
OnLeave PlaybackAction The action to take when the button is left.
OnPress PlaybackAction The action to take when the button is pressed.
OnRelease PlaybackAction The action to take when the button is released.

Usage

Basically your media buttons (Play, Pause, Resume, and Stop) that can be setup anywhere.

Examples

Related Components