Class InputSystem | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class InputSystem

    Inheritance
    Object
    InputSystem
    Namespace: UnityEngine.InputNew
    Syntax
    public static class InputSystem

    Properties

    assignedPlayers

    Declaration
    public static InputConsumerNode assignedPlayers { get; }
    Property Value
    Type Description
    InputConsumerNode

    consumers

    Declaration
    public static InputConsumerNode consumers { get; }
    Property Value
    Type Description
    InputConsumerNode

    devices

    Declaration
    public static List<InputDevice> devices { get; }
    Property Value
    Type Description
    List<InputDevice>

    eventTree

    Declaration
    public static IInputConsumer eventTree { get; }
    Property Value
    Type Description
    IInputConsumer

    globalPlayers

    Declaration
    public static InputConsumerNode globalPlayers { get; }
    Property Value
    Type Description
    InputConsumerNode

    listeningForBinding

    Declaration
    public static bool listeningForBinding { get; }
    Property Value
    Type Description
    Boolean

    rewriters

    Declaration
    public static InputConsumerNode rewriters { get; }
    Property Value
    Type Description
    InputConsumerNode

    simulateMouseWithTouches

    Declaration
    public static bool simulateMouseWithTouches { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    CreateEvent<TEvent>()

    Declaration
    public static TEvent CreateEvent<TEvent>()
        where TEvent : InputEvent, new()
    Returns
    Type Description
    TEvent
    Type Parameters
    Name Description
    TEvent

    ExecuteEvent(InputEvent)

    Declaration
    public static bool ExecuteEvent(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent
    Returns
    Type Description
    Boolean

    GetMostRecentlyUsedDevice<TDevice>()

    Declaration
    public static TDevice GetMostRecentlyUsedDevice<TDevice>()
        where TDevice : InputDevice
    Returns
    Type Description
    TDevice
    Type Parameters
    Name Description
    TDevice

    ListenForBinding(InputSystem.BindingListener)

    Declaration
    public static void ListenForBinding(InputSystem.BindingListener listener)
    Parameters
    Type Name Description
    InputSystem.BindingListener listener

    LookupDevice(Type, Int32)

    Declaration
    public static InputDevice LookupDevice(Type deviceType, int deviceIndex)
    Parameters
    Type Name Description
    Type deviceType
    Int32 deviceIndex
    Returns
    Type Description
    InputDevice

    QueueEvent(InputEvent)

    Declaration
    public static void QueueEvent(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent

    RegisterDevice(InputDevice)

    Declaration
    public static void RegisterDevice(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device

    RegisterProfile(InputDeviceProfile)

    Declaration
    public static void RegisterProfile(InputDeviceProfile profile)
    Parameters
    Type Name Description
    InputDeviceProfile profile
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023