Class MouseClickGesture | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class MouseClickGesture

    Inheritance
    Object
    MouseClickGesture
    Namespace: UnityEngine.Reflect.Controller.Gestures.Desktop
    Syntax
    public class MouseClickGesture : IGesture

    Constructors

    MouseClickGesture()

    Declaration
    public MouseClickGesture()

    MouseClickGesture(Action<Vector2>)

    Declaration
    public MouseClickGesture(Action<Vector2> mouseClicked)
    Parameters
    Type Name Description
    Action<Vector2> mouseClicked

    Properties

    Button

    Declaration
    public KeyCode Button { get; set; }
    Property Value
    Type Description
    KeyCode

    ClickNumber

    Declaration
    public int ClickNumber { get; set; }
    Property Value
    Type Description
    Int32

    NeededButtons

    Declaration
    public KeyCode[] NeededButtons { get; set; }
    Property Value
    Type Description
    KeyCode[]

    ResetAfterComplete

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

    TimeAllowedAsClick

    Declaration
    public float TimeAllowedAsClick { get; set; }
    Property Value
    Type Description
    Single

    TimeAllowedBetweenClicks

    Declaration
    public float TimeAllowedBetweenClicks { get; set; }
    Property Value
    Type Description
    Single

    Methods

    Update()

    Declaration
    public void Update()
    Implements
    IGesture.Update()

    Events

    mouseClicked

    Declaration
    public event Action<Vector2> mouseClicked
    Event Type
    Type Description
    Action<Vector2>
    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