Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.