Interface: AudioEcsComponent
Defined in: audio/components/audio-component.ts:33
ECS-style component interface for audio.
Extends
Properties
playSound
playSound:
boolean
Defined in: audio/components/audio-component.ts:27
Set to true to play sound on the next createAudioEcsSystem update.
The system resets this back to false once playback has started.
Inherited from
AudioDefaultedOptions.playSound
sound
sound:
Howl
Defined in: audio/components/audio-component.ts:15
The Howler.js sound to play.