Class InputRuntimeExtensions
Inheritance
System.Object
InputRuntimeExtensions
Namespace: UnityEngine.InputSystem.LowLevel
Syntax
public static class InputRuntimeExtensions
Methods
DeviceCommand<TCommand>(IInputRuntime, Int32, ref TCommand)
Declaration
public static long DeviceCommand<TCommand>(this IInputRuntime runtime, int deviceId, ref TCommand command)
where TCommand : struct, IInputDeviceCommandInfo
Parameters
Type | Name | Description |
---|---|---|
IInputRuntime | runtime | |
System.Int32 | deviceId | |
TCommand | command |
Returns
Type | Description |
---|---|
System.Int64 |
Type Parameters
Name | Description |
---|---|
TCommand |