Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMOnPointer Class Reference

A simple helper class you can use to trigger methods on Unity's pointer events Typically used on a UI Image More...

Inheritance diagram for MoreMountains.Tools.MMOnPointer:

Public Member Functions

void OnPointerEnter (PointerEventData eventData)
 IPointerEnterHandler implementation More...
 
void OnPointerExit (PointerEventData eventData)
 IPointerExitHandler implementation More...
 
void OnPointerDown (PointerEventData eventData)
 IPointerDownHandler implementation More...
 
void OnPointerUp (PointerEventData eventData)
 IPointerUpHandler implementation More...
 
void OnPointerClick (PointerEventData eventData)
 IPointerClickHandler implementation More...
 

Public Attributes

UnityEvent PointerEnter
 an event to trigger when the pointer enters the associated game object More...
 
UnityEvent PointerExit
 an event to trigger when the pointer exits the associated game object More...
 
UnityEvent PointerDown
 an event to trigger when the pointer is pressed down on the associated game object More...
 
UnityEvent PointerUp
 an event to trigger when the pointer is pressed up on the associated game object More...
 
UnityEvent PointerClick
 an event to trigger when the pointer is clicked on the associated game object More...
 

Detailed Description

A simple helper class you can use to trigger methods on Unity's pointer events Typically used on a UI Image

Member Function Documentation

◆ OnPointerClick()

void MoreMountains.Tools.MMOnPointer.OnPointerClick ( PointerEventData  eventData)

IPointerClickHandler implementation

Parameters
eventData

◆ OnPointerDown()

void MoreMountains.Tools.MMOnPointer.OnPointerDown ( PointerEventData  eventData)

IPointerDownHandler implementation

Parameters
eventData

◆ OnPointerEnter()

void MoreMountains.Tools.MMOnPointer.OnPointerEnter ( PointerEventData  eventData)

IPointerEnterHandler implementation

Parameters
eventData

◆ OnPointerExit()

void MoreMountains.Tools.MMOnPointer.OnPointerExit ( PointerEventData  eventData)

IPointerExitHandler implementation

Parameters
eventData

◆ OnPointerUp()

void MoreMountains.Tools.MMOnPointer.OnPointerUp ( PointerEventData  eventData)

IPointerUpHandler implementation

Parameters
eventData

Member Data Documentation

◆ PointerClick

UnityEvent MoreMountains.Tools.MMOnPointer.PointerClick

an event to trigger when the pointer is clicked on the associated game object

◆ PointerDown

UnityEvent MoreMountains.Tools.MMOnPointer.PointerDown

an event to trigger when the pointer is pressed down on the associated game object

◆ PointerEnter

UnityEvent MoreMountains.Tools.MMOnPointer.PointerEnter

an event to trigger when the pointer enters the associated game object

◆ PointerExit

UnityEvent MoreMountains.Tools.MMOnPointer.PointerExit

an event to trigger when the pointer exits the associated game object

◆ PointerUp

UnityEvent MoreMountains.Tools.MMOnPointer.PointerUp

an event to trigger when the pointer is pressed up on the associated game object


The documentation for this class was generated from the following file: