Skip to main content

Audio Source Controller

namespace: qASIC.AudioManagment

Introduction

Audio Source Controller allows for global audio pausing and unpausing.

Setup

Add the Audio Source Controller to every audio source in your game that should get affected by global pausing.

Usage

To pause and unpause audio globally call AudioManager.PauseAll and AudioManager.UnPauseAll. This can also be achieved by the Pause Controller without any coding.

caution

To pause and unpause the source on it's own call Pause and UnPause methods on the controller, not the source!