Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Is there a way to globally "not launch" sounds at all if volume is turned off?

Discussion in 'Audio & Video' started by GloriaVictis, Feb 11, 2021.

  1. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
    I have made some tests with big amount of sounds playing all together, they give some performance hit, but even if the AudioManager Global Volume is 0, the AudioSource.Update pulls the same amount.

    It sounds reasonable for a game's which has lots of audiosources and lots of voices playing together to distable all of it together while turning off sounds via options, but is there any global way rather than checking on all possible audiosources if they can actually play an audio due to settings?