Removes all sounds from the sound manager that have an asset key matching the given value. The removed sounds are destroyed before removal.
name | type | description |
---|---|---|
key | string |
The key to match when removing sound objects. |
The number of matching sound objects that were removed.