文档

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
警告
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.