Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

XRSettings.supportedDevices

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static string[] supportedDevices;

Description

Returns a list of supported XR devices that were included at build time.

You can use the SubsystemManager to load XR devices. The list is populated based on the XR plug-in providers you enable in your project using the XR Plug-in Management system. Refer to Choose and configure XR provider plug-ins to learn more about how to enable XR plug-ins.