audiochorusfilter.panlevel 平衡调整级别

2015-1-3 13:57| 发布者: 杨炎| 查看: 1877| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: audiosource.panlevel 平衡调整级别varpanlevel: floatdescription描述sets how much the 3d engine has an effect on the channel.设置多少,3d引擎在通道上有效果。useful for morphing an audiosource from 3d(1. ...

audiosource.panlevel 平衡调整级别

varpanlevel: float

description描述

sets how much the 3d engine has an effect on the channel.

设置多少,3d引擎在通道上有效果。

useful for morphing an audiosource from 3d(1.0f) to 2d(0.0f)

用于渐变一个audiosource从 3d(1.0f) 到 2d(0.0f)

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void awake() {

audio.panlevel = 0;

}

}

// hear the audio clip in both channels (2d)

//在两个通道 (2d)听到音频剪辑

audio.panlevel = 0;

相关阅读

文章点评
相关文章