(Redirected from ButtonPlaybackAction (Component))
Component image
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
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.