Class TouchMultiTapGesture | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX