AudioRolloffMode.Logarithmic 对数
Description描述
Use this mode when you want a real-world rolloff.
当你想要一个真实世界的衰减,使用这个模式。
// Sets the rolloff of the audio source attached to
// this script to Logarithmic.
//设置音频源以对数方式衰减
@script RequireComponent(AudioSource)
audio.rolloffMode = AudioRolloffMode.Logarithmic;
最后修改:2011年4月27日 Wednesday 10:47