Learn / Documentation / Script Reference / UIButtonBehaviorType
Manual

UIButtonBehaviorType

enumeration in Doozy.Engine.UI

Description

The UIButtonBehaviorType enum determines what type of UIButtonBehaviors are available for an UIButton

Properties

  • OnClickUIButton behavior when the pointer performs a left mouse button click over the button

  • OnDoubleClickUIButton behavior when the pointer performs a left mouse button double click over the button

  • OnLongClickUIButton behavior when the pointer performs a left mouse button long click over the button

  • OnRightClickUIButton behavior when the pointer performs a right mouse button click over the button

  • OnPointerEnterUIButton behavior when the pointer enters (hovers in) over the button’s area

  • OnPointerExitUIButton behavior when the pointer exits (hovers out) the button’s area (happens only after OnPointerEnter)

  • OnPointerDownUIButton behavior when the pointer is down over the button

  • OnPointerUpUIButton behavior when the pointer is up over the button (happens only after OnPointerDown)

  • OnSelectedUIButton behavior when the button gets selected

  • OnDeselectedUIButton behavior when the button gets deselected