muteAll method

Future<void> muteAll()

Mute All

Mutes BGM, SFX, and Voice channels in parallel. Useful for global pause menus or backgrounding.

Note: Volume values are preserved; only the muted state toggles.

Implementation

Future<void> muteAll() async {
  await Future.wait([
    bgm.mute(),
    sfx.mute(),
    voice.mute(),
  ]);
}