Class InputRuntimeExtensions
Inheritance
System.Object
InputRuntimeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Input.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 |