AudioListener.pausestatic var pause : booleanDescriptionThe paused state of the audio. If set to True, the listener will not generate sound. Similar to setting the volume to 0.0.
JavaScript
AudioListener.pause = true; using UnityEngine; import UnityEngine |
