📜  Unity OVR 耳机模拟器不工作 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:59.508000             🧑  作者: Mango

代码示例1
private void Awake()
{
//If OVRPlugin is initialized on Awake(), or if the device is OpenVR, OVRManager should be initialized right away.
if (!OVRPlugin.initialized || (Settings.enabled && Settings.loadedDeviceName == OPENVR_UNITY_NAME_STR))
{
InitOVRManager();
}
}