Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioSource.ignoreListenerVolume

Switch to Manual
var ignoreListenerVolume: bool;

Description

This makes the audio source not take into account the volume of the audio listener.

Enable this when playing back music. When playing back music you want a separate setting which is unaffected by the normal sound effects volume.