Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


deviceLoaded

Subscribe a delegate to this event to get notified when an XRDevice is successfully loaded.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Event
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
Warning
Deprecated. UnityEngine.VRModule is deprecated and will be removed in a future version. Please use the APIs in the UnityEngine.XRModule instead
public static event Action<string> deviceLoaded

Remarks

In order to change the currently loaded device or reload the current device, use XRSettings.LoadDeviceByName.