找回密碼
 注冊帳號

掃一掃,訪問微社區

audiosettings.drivercaps 驅動功能

2015-1-3 11:07| 發布者: 楊炎| 查看: 1496| 評論: 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;

相關閱讀

文章點評
相關文章
女校游泳队彩金