docs.unity.cn
    Show / Hide Table of Contents

    Interface IScrollHandler

    Interface to implement if you wish to receive OnScroll callbacks.

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

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

    Methods

    OnScroll(PointerEventData)

    Use this callback to detect scroll events.

    Declaration
    void OnScroll(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