AudioSource.bypassEffects 直通效果

var bypassEffects : bool

Description描述

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

直通效果(从过滤器组件或全局监听过滤器应用)。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		audio.bypassEffects = false;
	}
}
// Turn all the audio effects applied to this audio Listener off
//关闭所有应用到这个音频监听器的音频效果

audio.bypassEffects = false;
Page last updated: 2011-4-5