addSprite(key) → {Phaser.AudioSprite}
Adds a new AudioSprite into the SoundManager.
Parameters
Name | Type | Description |
---|---|---|
key | string | Asset key for the sound. |
Returns
The new AudioSprite instance.
- Source code: sound/SoundManager.js (Line 564)
addSprite(key) → {Phaser.AudioSprite}
Adds a new AudioSprite into the SoundManager.
Name | Type | Description |
---|---|---|
key | string | Asset key for the sound. |
The new AudioSprite instance.
Please login to continue.