Documentation

Unity Engine

Unity Engine

ignoreListenerVolume

This makes the audio source not take into account the volume of the audio listener.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public bool ignoreListenerVolume { get; set; }

Remarks

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