Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

AudioSource.ignoreListenerVolume

Switch to Manual
public 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.