audiochorusfilter.rolloffmode 衰减模式

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

摘要: audiosource.rolloffmode 衰减模式varrolloffmode:audiorolloffmodedescription描述sets/gets how the audiosource attenuates over distance设置/获取audiosource随着距离衰减。c#javascriptusing unityengine;usin ...

audiosource.rolloffmode 衰减模式

varrolloffmode:audiorolloffmode

description描述

sets/gets how the audiosource attenuates over distance

设置/获取audiosource随着距离衰减。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void awake() {

audio.rolloffmode =audiorolloffmode.linear;

}

}

audio.rolloffmode =audiorolloffmode.linear;

相关阅读

文章点评
相关文章