- Home /
Question by
RLin · Oct 03, 2015 at 08:01 PM ·
audioaudiosourceaudioclipaudiolisteneraudio listener
Making an audio filter affect some, but not all, audio sources?
I am creating a racing game for mobile. Whenever the player's car enters a tunnel or other enclosed area, an audio echo filter attached to the audio listener object activates. Unfortunately, this echo filter also causes the music to echo. Is there a way to make the filter ignore certain audio sources only? (My other option would to be to attach audio filters to the hundreds of audio sources that do need to echo).
Comment
Best Answer
Answer by MakeCodeNow · Oct 04, 2015 at 03:11 AM
Just set the Bypass Effects flag on the AudioSource of the music (and anything else you don't want to be affected).