The paused state of the audio. If set to True, the listener will not generate sound.
Similar to setting the volume to 0.0.
AudioListener.pause = true;
using UnityEngine;using System.Collections;public class example : MonoBehaviour { void Example() { AudioListener.pause = true; }}
import UnityEngineimport System.Collectionsclass example(MonoBehaviour): def Example(): AudioListener.pause = true