AudioSettings.driverCaps 驱动功能
static var driverCaps : AudioSpeakerMode
Description描述
Returns the speaker mode capability of the current audio driver. (Read Only)
返回当前音频驱动程序的扬声器功能模式。(只读)
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;
最后修改:2011年1月7日 Friday 20:02