Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


loadedDeviceName

Type of XR device that is currently loaded.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static string loadedDeviceName { get; }

Remarks

Note: Rendering to the device may not be happening even though it is loaded. See XRSettings.enabled.
In order to change the currently loaded device or reload the current device, use XRSettings.LoadDeviceByName.