We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89ad4f1 commit 261452aCopy full SHA for 261452a
1 file changed
v3/src/sound/BaseSoundManager.js
@@ -194,8 +194,11 @@ var BaseSoundManager = new Class({
194
return false;
195
},
196
/**
197
+ * Removes all sounds from the sound manager that have an asset key matching the given value.
198
+ * The removed sounds are destroyed before removal.
199
*
- * @param {string} key
200
+ * @method Phaser.Sound.BaseSoundManager#removeByKey
201
+ * @param {string} key - The key to match when removing sound objects.
202
* @returns {number} The number of matching sound objects that were removed.
203
*/
204
removeByKey: function (key) {
0 commit comments