Beispiel #1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     OnShowTooltip?.Invoke(eventData, tooltipText);
 }
Beispiel #2
0
 //Detect if the Cursor starts to pass over the GameObject
 public void OnPointerEnter(PointerEventData pointerEventData)
 {
     OnShowTooltip?.Invoke(data);
 }