LoadDeviceByName
Loads the requested device at the beginning of the next frame.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
LoadDeviceByName(string)
Loads the requested device at the beginning of the next frame.
public static void LoadDeviceByName(string deviceName)
Parameters
Name of the device from XRSettings.supportedDevices.
Remarks
This API is deprecated and should no longer be used.
LoadDeviceByName(string[])
Loads the requested device at the beginning of the next frame.
public static void LoadDeviceByName(string[] prioritizedDeviceNameList)
Parameters
Prioritized list of device names from XRSettings.supportedDevices.
Remarks
This API is deprecated and should no longer be used.