Class InputUtils | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class InputUtils

    Inheritance
    Object
    InputUtils
    Namespace: Unity.UIWidgets.engine
    Syntax
    public static class InputUtils

    Fields

    MouseLeftKeyDevice

    Declaration
    public const int MouseLeftKeyDevice = 10
    Field Value
    Type Description
    Int32

    MouseRightKeyDevice

    Declaration
    public const int MouseRightKeyDevice = 11
    Field Value
    Type Description
    Int32

    Methods

    getMouseButtonKey(Int32)

    Declaration
    public static int getMouseButtonKey(int buttonId)
    Parameters
    Type Name Description
    Int32 buttonId
    Returns
    Type Description
    Int32

    getPointerDeviceKey(PointerEventData)

    Declaration
    public static int getPointerDeviceKey(PointerEventData eventData)
    Parameters
    Type Name Description
    PointerEventData eventData
    Returns
    Type Description
    Int32

    getPointerDeviceKind(PointerEventData)

    Declaration
    public static PointerDeviceKind getPointerDeviceKind(PointerEventData eventData)
    Parameters
    Type Name Description
    PointerEventData eventData
    Returns
    Type Description
    PointerDeviceKind

    getScrollButtonKey()

    Declaration
    public static int getScrollButtonKey()
    Returns
    Type Description
    Int32
    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