TryGetInputDevices(List<InputDevice>)
Gets a list of all connected InputDevice s reported by this XRInputSubsystem.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public bool TryGetInputDevices(List<InputDevice> devices)
Parameters
The list of devices reported by this subsystem.
Returns
Type | Description |
|---|---|
| bool | True, if the XRInputSubsystem retrieves any devices. Returns false otherwise. |