Firstborn/Library/PackageCache/com.unity.ugui@1.0.0/Tests/Runtime/EventSystem/InputModuleTests/PointerEnterCallbackCheck.cs

14 lines
359 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
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;
}
}