mgear
2
hi,
so that settings menu, is it separate scene or in same scene? are you setting mute value or calling that Mute() there everytime it opens?
also i think you don’t need to continuously run that mute check with Update() loop,
can just add it inside that Mute() function to set once,
if (muted) {AudioListener.volume=0;}
else{AudioListener.volume=1;}
ps. can add code snippets in posts