文档

Unity Engine

Download Unity

Unity Engine

GetDevices(List<InputDevice>)

Gets a list of active input devices available to the XR Input Subsystem.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static void GetDevices(List<InputDevice> inputDevices)

Parameters

inputDevices

A List of type InputDevices to receive the available input devices.