You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
359 B
C#
14 lines
359 B
C#
1 year ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.EventSystems;
|
||
|
public class PointerEnterCallbackCheck : MonoBehaviour, IPointerEnterHandler
|
||
|
{
|
||
|
public PointerEventData pointerData { get; private set; }
|
||
|
|
||
|
public void OnPointerEnter(PointerEventData eventData)
|
||
|
{
|
||
|
pointerData = eventData;
|
||
|
}
|
||
|
}
|