Skip to the content.

Static Functions

Function Name Description
play(audioContent:String, options?:PlaySoundArgs):AudioClip Plays audio by the specified id, returning the active AudioClip object of the played audio.
Parameters:
- audioContent - The content id path of the audio to be played.
- options - Playback options for the audio

Instance Functions

Function Name Description
isDisposed():Bool
isFinished():Bool
isPlaying():Bool
pause():Void
resume():Void
stop():Void