Component image 
Hover Playback component as seen in the Scene Inspector

The HoverPlayback component plays or stops a Playable when on the root of a hiearchy that has colliders and is touched/pressed.
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. Some components stop their functionality when this field is disabled, but some don't. |
Target
|
SyncPlayback | The Playback (timeline/animation) to influence. |
Trigger
|
HoverPlayback.PlayTrigger | what should trigger the playback. |
FromBeginning
|
Bool | Whether to play from the beginning or not. |
Loop
|
Bool | Whether to loop the playback. |
PlayTrigger
Name | Value | Description |
---|---|---|
Hover
|
0 | play/pause the audio when the user hovers their laser over the collider this component is on. |
Touch
|
1 | play/pause the audio when the user presses primary over the collider this component is on. |
Usage
Attach to a slot or slot hiearchy with colliders, and provide a Target
.
Examples
Can be used for the play button on a casset player