AudioSource.bypassEffects Manual     Reference     Scripting  
Scripting > Runtime Classes > AudioSource
AudioSource.bypassEffects

var bypassEffects : bool

Description

Bypass effects (Applied from filter components or global listener filters)

JavaScripts
// Turn all the audio effects applied to this audio Listener off

audio.bypassEffects = false;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
audio.bypassEffects = false;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
audio.bypassEffects = false