Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 2 KB

simple-audio-feedback.md

File metadata and controls

26 lines (23 loc) · 2 KB
uid
xri-simple-audio-feedback

Simple Audio Feedback

Component that responds to select and hover events by playing audio clips.

SimpleAudioFeedback component

Property Description
Interactor Source The interactor component to listen to for its interaction events.
Audio Source The Audio Source component to use to play audio clips.
Play Select Entered Whether to play a sound when the interactor starts selecting an interactable.
Select Entered Clip The audio clip to play when the interactor starts selecting an interactable.
Play Select Exited Whether to play a sound when the interactor stops selecting an interactable without being canceled.
Select Exited Clip The audio clip to play when the interactor stops selecting an interactable without being canceled.
Play Select Canceled Whether to play a sound when the interactor stops selecting an interactable due to being canceled.
Select Canceled Clip The audio clip to play when the interactor stops selecting an interactable due to being canceled.
Play Hover Entered Whether to play a sound when the interactor starts hovering an interactable.
Hover Entered Clip The audio clip to play when the interactor starts hovering an interactable.
Play Hover Exited Whether to play a sound when the interactor stops hovering an interactable without being canceled.
Hover Exited Clip The audio clip to play when the interactor stops hovering an interactable without being canceled.
Play Hover Canceled Whether to play a sound when the interactor stops hovering an interactable due to being canceled.
Hover Canceled Clip The audio clip to play when the interactor stops hovering an interactable due to being canceled.
Allow Hover Audio While Selecting Whether to allow hover audio to play while the interactor is selecting an interactable.