文档

Unity Engine

Unity Engine

deviceLoaded

Subscribe a delegate to this event to get notified when an XRDevice is successfully loaded.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
public static event Action<string> deviceLoaded

Remarks

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