This version of Unity is unsupported.

XRInputSubsystem.TryGetInputDevices

Declaration

public bool TryGetInputDevices(List<InputDevice> devices);

Parameters

devices The list of devices reported by this subsystem.

Returns

bool True, if the XRInputSubsystem retrieves any devices. Returns false otherwise.

Description

Gets a list of all connected InputDevices reported by this XRInputSubsystem.