ButtonAdvanced

The Button component with exposed events on pointer enter/exit/down/up.
Legacy. Not recommended to use. Better use separate listeners with the default Button component.

Events

  • onPointerEnter UnityEvent<PointerEventData>

  • onPointerExit UnityEvent<PointerEventData>

  • onPointerDown UnityEvent<PointerEventData>

  • onPointerUp UnityEvent<PointerEventData>