docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInitializePotentialDragHandler

    Interface to implement if you wish to receive OnInitializePotentialDrag callbacks.

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

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

    Methods

    OnInitializePotentialDrag(PointerEventData)

    Called by a BaseInputModule when a drag has been found but before it is valid to begin the drag.

    Declaration
    void OnInitializePotentialDrag(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)