ドキュメント

Unity Engine

Unity Engine

deviceConnected

Defines the delegate to use to register events when an InputDevice is connected.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Event
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static event Action<InputDevice> deviceConnected

Remarks

This delegate allows you to receive device connection events, so you know when the list of devices changes.