找回密码
 注册帐号

扫一扫,访问微社区

audiosettings.drivercaps 驱动功能

2015-1-3 11:07| 发布者: 杨炎| 查看: 1536| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: audiosettings.drivercaps 驱动功能static vardrivercaps:audiospeakermodedescription描述returns the speaker mode capability of the current audio driver. (read only)返回当前音频驱动程序的扬声器功能模式。 ...

audiosettings.drivercaps 驱动功能

static vardrivercaps:audiospeakermode

description描述

returns the speaker mode capability of the current audio driver. (read only)

返回当前音频驱动程序的扬声器功能模式。(只读)

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

audiosettings.speakermode=audiosettings.drivercaps;

}

}

// set the speaker mode to that of the system settings.

//设置扬声器模式到系统的设置

audiosettings.speakermode=audiosettings.drivercaps;

相关阅读

文章点评
相关文章