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

var bypassEffects : boolean

Description

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

JavaScript
// Turn all the audio effects applied to this audio Listener off
function Start() {
audio.bypassEffects = false;
}

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Start():
audio.bypassEffects = false