enabled/disabled sound setting

we create a game. on the menu it consist of play,settings and hall of fame.
inside the settings there is an option where in its up to the user if he/she will turn on or off the sounds.
How can i implement that. Please help us. Thank you :smiley:

You have to set up the volume value of your scene AudioListener like this :

AudioListener.volume = 0f; // Mute
AudioListener.volume = 1f; // Full volume