- Home /
how to keep 1 audio listener
i am making a fps game and i have tons of different sound and noises and it says i have four audio listeners in the Please ensure there is always exactly one audio listener in the scene. how do i have one audio listers and still have different audio in the background
Answer by efge · Mar 22, 2011 at 04:28 AM
Only one AudioListener (not to be confused with AudioSource) should be enabled in the scene. The are by default attached to a camera. So make sure only one camera in your scene has an AudioListener attached. You can remove this component in the Inspector or disable it per script:
AudioListener.enabled = false;
Your answer
Follow this Question
Related Questions
Meters Per Second, or Feet Per Second? 1 Answer
FPS Advance Gun Script 1 Answer
Need coding help with fps 0 Answers
Camera Recoil,Please help me. 2 Answers
Rotation/position question. 1 Answer