Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


supportedDevices

Returns a list of supported XR devices that were included at build time.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
public static string[] supportedDevices { get; }

Remarks

Any of these devices can be loaded with XRSettings.LoadDeviceByName. In order to get a device to show up in this list, it must be included at build time in PlayerSettings.