We have collected the most relevant information on Audiolistener.Pause = True. Open the URLs, which are collected below, and you will find all the info you are interested in.


Unity - Scripting API: AudioListener.pause

    https://docs.unity3d.com/ScriptReference/AudioListener-pause.html
    If set to true, all AudioSources playing will be paused. This works in the same way as pausing the game in the editor. While the pause-state is true, the AudioSettings.dspTime will be frozen and further AudioSource play requests will start off paused. If you want certain sounds to still play during the pause, you need to set the ignoreListenerPause property on the …

Pause menu music after AudioListener.pause = true;

    https://stackoverflow.com/questions/56158481/pause-menu-music-after-audiolistener-pause-true

    Unity - Scripting API: AudioListener.pause

      https://docs.unity3d.com/2017.4/Documentation/ScriptReference/AudioListener-pause.html
      While the pause-state is true, the AudioSettings.dspTime will be frozen and further AudioSource play requests will start off paused. If you want certain sounds to still play during the pause, you need to set the ignoreListenerPause property on the AudioSource to true for these. This is typically menu item sounds or background music for the menu.

    c# - How can I disable the audio for a specific scene ...

      https://stackoverflow.com/questions/65711415/how-can-i-disable-the-audio-for-a-specific-scene

      AudioListener.pause doesn't work on Awake or Start or even ...

        https://forum.unity.com/threads/audiolistener-pause-doesnt-work-on-awake-or-start-or-even-the-first-update.90591/
        AudioListener.pause = true; } } Printing the value out from update says that AudioListener.pause is True but the sound keeps playing. This means that the variable is set but is simply ignored. This must be a bug right? Does anyone know a work around that isn't setting it every frame? Antony-Blackett, May 25, 2011 #1 Antony-Blackett Joined:

      Is there a way to pause audio and continue ... - Unity Forum

        https://forum.unity.com/threads/is-there-a-way-to-pause-audio-and-continue-playing-audio.56449/

        The right way to pause a game in Unity - Game Dev …

          https://gamedevbeginner.com/the-right-way-to-pause-the-game-in-unity/

          How to Queue Audio Clips in Unity (the Ultimate Guide to ...

            https://johnleonardfrench.com/ultimate-guide-to-playscheduled-in-unity/
            // Pause all Audio Sources AudioListener.pause = true; This pauses every Audio Source, and prevents scheduled audio sources from playing whenever the game is stopped. They will resume from their exact position when AudioListener.pause is set back to false and the game is re-started again.

          How to pause audio - Unity Answers

            https://answers.unity.com/questions/56776/how-to-pause-audio.html
            As part of my course project I need to be able to control audio in my game. For in game playing I have 2 buttons for pause and play an am using the code. AudioListener.pause = true; to achieve this. However it will pause the game music but sound effects are still playing. Is there a way I can change this to pause all music?

          Now you know Audiolistener.Pause = True

          Now that you know Audiolistener.Pause = True, we suggest that you familiarize yourself with information on similar questions.