示例#1
0
 private void ToggleMute(bool isMuted)
 {
     audioSource.volume = isMuted ? 0f : audioSettings != null?audioSettings.GetMusicVolume() : 1f;
 }