docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IEndDragHandler

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

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

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

    Methods

    OnEndDrag(PointerEventData)

    Called by the EventSystem once dragging ends.

    Declaration
    void OnEndDrag(PointerEventData eventData)
    Parameters
    Type Name Description
    PointerEventData eventData

    The pointer event data for the drag.

    In This Article
    Back to top
    Copyright © 2026 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)