docs.unity.cn
    Show / Hide Table of Contents

    Class PointerInputModule.MouseState

    Inheritance
    Object
    PointerInputModule.MouseState
    Namespace: UnityEngine.EventSystems
    Syntax
    protected class MouseState

    Methods

    AnyPressesThisFrame()

    Declaration
    public bool AnyPressesThisFrame()
    Returns
    Type Description
    Boolean

    AnyReleasesThisFrame()

    Declaration
    public bool AnyReleasesThisFrame()
    Returns
    Type Description
    Boolean

    GetButtonState(PointerEventData.InputButton)

    Declaration
    public PointerInputModule.ButtonState GetButtonState(PointerEventData.InputButton button)
    Parameters
    Type Name Description
    PointerEventData.InputButton button
    Returns
    Type Description
    PointerInputModule.ButtonState

    SetButtonState(PointerEventData.InputButton, PointerEventData.FramePressState, PointerEventData)

    Declaration
    public void SetButtonState(PointerEventData.InputButton button, PointerEventData.FramePressState stateForMouseButton, PointerEventData data)
    Parameters
    Type Name Description
    PointerEventData.InputButton button
    PointerEventData.FramePressState stateForMouseButton
    PointerEventData data
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023