Class InputRuntimeExtensions | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    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
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX