Audio Manager

Gamepangin has provided a system for your in-game audio needs easily. The following are the features provided:

  • Play / Stop / Pause / Resume

  • Play clip with full settings : loop, volume, pitch, pan, spatial blend, bypasses, priority, reverb, doppler level, spread, rolloff mode, distance

  • 2D & 3D spatial support

  • Provided Audio Mixer and Track (Master, Sfx, Music, UI)

  • Stop / Pause / Resume all tracks

  • Stop / Pause / Resume all audio

  • Mute / Set volume each tracks

  • Integrated with Object Pooling for maximum performance

  • Integrated with Save Load for persistence settings

  • and more...

Audio Clip Settings

Before you can play audio, you must create an AudioClipSettings scriptable object by right clicking on the Project Window > Create > Gamepangin > Audio > Clip

AudioClipSettings Inspector

Audio Manager Singleton

Before calling the API, make sure you have Audio Manager in your scene. To make it you can use the Gamepangin menu > Audio > Audio Manager

Public API

Play Sound

Pause Sound

Resume Sound

Stop Sound

Mute Track

Unmute Track

Pause Track

Play Track

Stop Track

Set Track Volume

Pause All Sounds

Play All Sounds

Stop All Sounds

Last updated