ignoreListenerPause
Allows AudioSource to play even though AudioListener.pause is set to true. This is useful for the menu element sounds or background music in pause menus.
Read time 1 minuteLast updated 2 months ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public bool ignoreListenerPause { get; set; }
Remarks
This property can only be set via the script and is not serialized.