Button Hover Event
🖱️ ButtonHoverEvent Class
Adds hover events to a uGUI button.
Namespace:
Esper.Inventool.UI.UGUI
Access:public
Type:class
Inherits:MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
📦 Fields
Access
Field
Type
Description
public
onPointerEnter
Action
Actions invoked on pointer enter.
public
onPointerExit
Action
Actions invoked on pointer exit.
🧰 Methods
Access
Method
Returns
Description
public
OnPointerEnter(PointerEventData eventData)
void
Invokes onPointerEnter
when the pointer enters.
public
OnPointerExit(PointerEventData eventData)
void
Invokes onPointerExit
when the pointer exits.
Last updated