docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBeginDragHandler

    Interface to implement if you wish to receive OnBeginDrag callbacks. Note: You need to implement IDragHandler in addition to IBeginDragHandler.

    Namespace: UnityEngine.EventSystems
    Assembly: UnityEngine.UI.dll
    Syntax
    public interface IBeginDragHandler : IEventSystemHandler
    Remarks

    Criteria for this event is implementation dependent. For example see StandAloneInputModule.

    Methods

    OnBeginDrag(PointerEventData)

    Called by a BaseInputModule before a drag is started.

    Declaration
    void OnBeginDrag(PointerEventData eventData)
    Parameters
    Type Name Description
    PointerEventData eventData
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)