AudioSource.mutevar mute : booleanDescriptionUn- / Mutes the AudioSource. Mute sets the volume=0, Un-Mute restore the original volume.
JavaScript
// Mutes-Unmutes the sound of this transfor each time the user presses space. using UnityEngine; import UnityEngine |
