audioclip.channels 声道数

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

摘要: audioclip.channels 声道数varchannels: intdescription描述channels in audio clip (read only)音频剪辑的声道数。(只读)c#javascriptusing unityengine;using system.collections;public class example :monobeh ...

audioclip.channels 声道数

varchannels: int

description描述

channels in audio clip (read only)

音频剪辑的声道数。(只读)

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

debug.log(audio.clip.channels);

}

}

// prints how many channels the attached audio source has

// 1 --> mono 单声道

// 2+ stereo 立体声

//打印音频源有多少声道

debug.log(audio.clip.channels);

相关阅读

文章点评
相关文章