Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


deviceConnected

Defines the delegate to use to register events when an InputDevice is connected.
Read time 1 minuteLast updated 6 days ago

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.