Instance Method

stopAllAudio()

Stops audio playback.

Declaration

func stopAllAudio()

Discussion

You can stop a specific AudioPlaybackController instance from playing a particular resource by calling the controller’s stop() method. To stop all controllers associated with a particular Entity instance with a single call, use the stopAllAudio() method instead.

See Also

Playing Audio

func playAudio(AudioResource) -> AudioPlaybackController

Plays sound from an audio resource on this entity.

func prepareAudio(AudioResource) -> AudioPlaybackController

Prepares an audio resource for playback.