Skip to main content

BaseSoundLibrary

Summary

Abstract base class for sound libraries.

Signature

Methods

mute

Modifiers: abstract Toggle the muted state of all loaded sound effects.

play

Modifiers: abstract Play a previously loaded sound effect.

Remarks

Extend this class to implement a custom sound library and register it with NanoforgeClient.useSound. The built-in implementation is SoundLibrary.