Internal_Whether the audio is currently playing
Internal_Whether a still-playing sound should restart from the beginning
OptionalactorWhether the audio is autoplayed on scene enter or after actor is added to scene
Group of the audio, used to combine audio sources together and control them at once
Whether the audio is looped
Path to the audio asset
Volume of the audio, from 0 to 1
StaticcomponentStarts playback.
If the sound is already playing, it restarts from the beginning by
default; pass restart: false to leave an already-playing instance
untouched instead.
Whether to restart the sound if it's already playing.
Defaults to true.
Stops playback.
AudioSource component for playing audio.
It handles the playing of audio for an actor. It allows to play audio files and control the volume and looping of the audio.
Example