SoundManager#remove()

remove(sound) → {boolean}

Removes a Sound from the SoundManager. The removed Sound is destroyed before removal.

Parameters
Name Type Description
sound Phaser.Sound

The sound object to remove.

Returns
boolean -

True if the sound was removed successfully, otherwise false.

Source code: sound/SoundManager.js (Line 579)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.