docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PointerInputModule.MouseState

    Inheritance
    object
    PointerInputModule.MouseState
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.EventSystems
    Assembly: UnityEngine.UI.dll
    Syntax
    protected class PointerInputModule.MouseState

    Methods

    AnyPressesThisFrame()

    Declaration
    public bool AnyPressesThisFrame()
    Returns
    Type Description
    bool

    AnyReleasesThisFrame()

    Declaration
    public bool AnyReleasesThisFrame()
    Returns
    Type Description
    bool

    GetButtonState(InputButton)

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

    SetButtonState(InputButton, 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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)