docs.unity.cn
    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
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023