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

    Class DirectionButtonsGesture

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

    Constructors

    DirectionButtonsGesture()

    Declaration
    public DirectionButtonsGesture()

    DirectionButtonsGesture(Action<Vector2>)

    Declaration
    public DirectionButtonsGesture(Action<Vector2> directionGiven)
    Parameters
    Type Name Description
    Action<Vector2> directionGiven

    Properties

    BackwardButtons

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

    ExcludedButtons

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

    ForwardButtons

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

    LeftButtons

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

    Multiplier

    Declaration
    public Vector2 Multiplier { get; set; }
    Property Value
    Type Description
    Vector2

    NeededButtons

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

    RightButtons

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

    Methods

    Update()

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

    Events

    directionGiven

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