Class TouchGesture | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Class TouchGesture

    Inheritance
    Object
    TouchGesture
    TouchDragGesture
    TouchMultiTapGesture
    TouchPanGesture
    TouchPinchGesture
    Namespace: UnityEngine.Reflect.Controller.Gestures.Touch
    Syntax
    public abstract class TouchGesture : IGesture

    Methods

    ComputeCentroid()

    Declaration
    protected Vector2 ComputeCentroid()
    Returns
    Type Description
    Vector2

    FromPixels(Vector2)

    Declaration
    protected Vector2 FromPixels(Vector2 value)
    Parameters
    Type Name Description
    Vector2 value
    Returns
    Type Description
    Vector2

    Update()

    Declaration
    public abstract void Update()
    Implements
    IGesture.Update()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX