LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

EventTriggerType

enumeration

Description

The type of event the TriggerEvent is intercepting.

Properties

PointerEnterIntercepts a IPointerEnterHandler.OnPointerEnter.
PointerExitIntercepts a IPointerExitHandler.OnPointerExit.
PointerDownIntercepts a IPointerDownHandler.OnPointerDown.
PointerUpIntercepts a IPointerUpHandler.OnPointerUp.
PointerClickIntercepts a IPointerClickHandler.OnPointerClick.
DragIntercepts a IDragHandler.OnDrag.
DropIntercepts a IDropHandler.OnDrop.
ScrollIntercepts a IScrollHandler.OnScroll.
UpdateSelectedIntercepts a IUpdateSelectedHandler.OnUpdateSelected.
SelectIntercepts a ISelectHandler.OnSelect.
DeselectIntercepts a IDeselectHandler.OnDeselect.
MoveIntercepts a IMoveHandler.OnMove.
InitializePotentialDragIntercepts IInitializePotentialDrag.InitializePotentialDrag.
BeginDragIntercepts IBeginDragHandler.OnBeginDrag.
EndDragIntercepts IEndDragHandler.OnEndDrag.
SubmitIntercepts ISubmitHandler.Submit.
CancelIntercepts ICancelHandler.OnCancel.