docs.unity.cn
    Show / Hide Table of Contents

    Enum EventTriggerType

    This class is capable of triggering one or more remote functions from a specified event. Usage: Attach it to an object with a collider, or to a GUI Graphic of your choice. NOTE: Doing this will make this object intercept ALL events, and no event bubbling will occur from this object!

    Namespace: UnityEngine.EventSystems
    Syntax
    public enum EventTriggerType

    Fields

    Name Description Value
    PointerEnter

    Intercepts a IPointerEnterHandler.OnPointerEnter.


    0
    PointerExit

    Intercepts a IPointerExitHandler.OnPointerExit.


    1
    PointerDown

    Intercepts a IPointerDownHandler.OnPointerDown.


    2
    PointerUp

    Intercepts a IPointerUpHandler.OnPointerUp.


    3
    PointerClick

    Intercepts a IPointerClickHandler.OnPointerClick.


    4
    Drag

    Intercepts a IDragHandler.OnDrag.


    5
    Drop

    Intercepts a IDropHandler.OnDrop.


    6
    Scroll

    Intercepts a IScrollHandler.OnScroll.


    7
    UpdateSelected

    Intercepts a IUpdateSelectedHandler.OnUpdateSelected.


    8
    Select

    Intercepts a ISelectHandler.OnSelect.


    9
    Deselect

    Intercepts a IDeselectHandler.OnDeselect.


    10
    Move

    Intercepts a IMoveHandler.OnMove.


    11
    InitializePotentialDrag

    Intercepts IInitializePotentialDrag.InitializePotentialDrag.


    12
    BeginDrag

    Intercepts IBeginDragHandler.OnBeginDrag.


    13
    EndDrag

    Intercepts IEndDragHandler.OnEndDrag.


    14
    Submit

    Intercepts ISubmitHandler.Submit.


    15
    Cancel

    Intercepts ICancelHandler.OnCancel.


    16
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023