Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Sound.NoAudioSoundManager
getAll(key)
Description:
Gets any sounds in the manager matching the given key.
Parameters:
name
type
description
key
string
Sound asset key.
Returns:
Description:
The sounds, or an empty array.
Type:
Array.<
Phaser.Sound.BaseSound
>
Inherited from:
Phaser.Sound.BaseSoundManager#getAll
Since:
3.23.0
Source:
src/sound/BaseSoundManager.js
(Line
231
)
Possible examples