How to mute all audio sound in unity? Unity中怎么样关闭所有音效

AudioListener.pause = true;
// or 
AudioListener.volume = 0;

Ref: https://answers.unity.com/questions/52109/how-do-i-mute-all-audio-sound.html

posted @ 2022-12-17 10:44  opencoder  阅读(151)  评论(0)    收藏  举报