Skip to main content
Namespace: Molca.Audio
File: Packages/com.molca.core/Runtime/Audio/AudioManager.cs
Type: RuntimeSubsystem (child of RuntimeManager prefab)

When to use

Use AudioManager to play music, SFX, and voice audio from AudioLibrary collections. It handles clip caching via Addressables, volume ducking during speech, and mixer group routing through the configured AudioModule.

Role

  • Manages three dedicated AudioSource channels: music (looping), SFX (one-shot), voice (with ducking).
  • Loads audio clips from AudioLibrary collections through Addressables with ref-counted caching.
  • Voice playback temporarily ducks music/SFX volume (duck amount and fade time configurable via Inspector).
  • Volume control delegates to AudioModule on GlobalSettings and dispatches typed events on change.

API Reference

Playback controls

Volume controls

Properties

Code