기술 자료

Unity Engine

Unity Engine

TryGetInputDevices(List<InputDevice>)

Gets a list of all connected InputDevice s reported by this XRInputSubsystem.
읽는 시간 1분최근 업데이트: 한 달 전

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

boolTrue, if the XRInputSubsystem retrieves any devices. Returns false otherwise.