UxrUnityXRControllerInput.GetInputDevice Method
Gets the input device interface in Unity’s input system for a given hand. Usually if it is a left+right setup it will give a list with a single entry but the system is very generic so it is prepared to handle different setups. Normally we get the list and just use the first entry if available.
Namespace: UltimateXR.Devices.Integrations
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
protected InputDevice GetInputDevice(
UxrHandSide handSide
)
Parameters
- handSide
- Type: UltimateXR.Core.UxrHandSide
Hand to get the input devices for
Return Value
Type: InputDevice
InputDevice representing the input device
See Also
Reference
UxrUnityXRControllerInput Class
UltimateXR.Devices.Integrations Namespace