mathe/Library/PackageCache/com.unity.ugui@1.0.0/Tests/Runtime/EventSystem/InputModuleTests/PointerExitCallbackCheck.cs

14 lines
356 B
C#
Raw Permalink Normal View History

2024-09-20 20:30:10 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class PointerExitCallbackCheck : MonoBehaviour, IPointerExitHandler
{
public PointerEventData pointerData { get; private set; }
public void OnPointerExit(PointerEventData eventData)
{
pointerData = eventData;
}
}