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

    Class TouchMultiTapGesture

    Inheritance
    Object
    TouchGesture
    TouchMultiTapGesture
    Inherited Members
    TouchGesture.ComputeCentroid()
    TouchGesture.FromPixels(Vector2)
    Namespace: UnityEngine.Reflect.Controller.Gestures.Touch
    Syntax
    public class TouchMultiTapGesture : TouchGesture, IGesture

    Constructors

    TouchMultiTapGesture()

    Declaration
    public TouchMultiTapGesture()

    TouchMultiTapGesture(Action<Vector2>)

    Declaration
    public TouchMultiTapGesture(Action<Vector2> onTap)
    Parameters
    Type Name Description
    Action<Vector2> onTap

    Properties

    AllowedDistanceBetweenTaps

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

    AllowedDistanceDuringTaps

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

    FingersNumber

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

    ResetAfterComplete

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

    TapNumber

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

    TimeAllowedAsTap

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

    TimeAllowedBetweenTaps

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

    Methods

    Update()

    Declaration
    public override void Update()
    Overrides
    TouchGesture.Update()

    Events

    onTap

    Declaration
    public event Action<Vector2> onTap
    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