docs.unity.cn

Unity UI 1.0.0

    Show / Hide Table of Contents

    Interface IPointerDownHandler

    Interface to implement if you wish to receive OnPointerDown callbacks.

    Namespace: UnityEngine.EventSystems
    Syntax
    public interface IPointerDownHandler : IEventSystemHandler
    Remarks

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

    Methods

    OnPointerDown(PointerEventData)

    Use this callback to detect pointer down events.

    Declaration
    void OnPointerDown(PointerEventData eventData)
    Parameters
    Type Name Description
    PointerEventData eventData
    In This Article
    • Methods
      • OnPointerDown(PointerEventData)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023