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

25 lines
506 B
C#

using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Cooldhands
{
public class UICursorOverRaycaster : BaseRaycaster
{
public static PointerEventData LastPointerEventData;
public override Camera eventCamera => null;
protected override void Awake()
{
base.Awake();
LastPointerEventData = null;
}
public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)
{
LastPointerEventData = eventData;
}
}
}