docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Dragger

    Manipulator which monitors Press, Hold and Release events in order to drag visuals.

    Inheritance
    object
    Pressable
    Dragger
    Inherited Members
    Pressable.ForceActivePseudoState()
    Pressable.RegisterCallbacksOnTarget()
    Pressable.UnregisterCallbacksFromTarget()
    Pressable.active
    Pressable.longPressDuration
    Pressable.keepEventPropagation
    Pressable.clicked
    Pressable.clickedWithEventInfo
    Pressable.longClicked
    Namespace: Unity.Muse.Common.Baryon.UI.Manipulators
    Assembly: solution.dll
    Syntax
    public class Dragger : Pressable

    Constructors

    Name Description
    Dragger(Action, Action<Dragger>, Action<Dragger>, Action<Dragger>)

    Construct a Dragger manipulator.

    Methods

    Name Description
    Cancel()

    Cancel the drag operation.

    ProcessDownEvent(EventBase, Vector2, int)

    This method processes the down event sent to the target Element.

    ProcessMoveEvent(EventBase, Vector2)

    This method processes the move event sent to the target Element.

    ProcessUpEvent(EventBase, Vector2, int)

    This method processes the up event sent to the target Element.

    In This Article
    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