Files
2026-03-04 10:03:45 +08:00

22 lines
422 B
C#

using UnityEngine;
using UnityEngine.EventSystems;
public class RankingHover : MonoBehaviour, IPointerEnterHandler, IEventSystemHandler, IPointerExitHandler
{
public GameObject HoverImage;
public void OnPointerEnter(PointerEventData eventData)
{
HoverImage.SetActive(value: true);
}
public void OnPointerExit(PointerEventData eventData)
{
HoverImage.SetActive(value: false);
}
private void Start()
{
}
}