using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; /// <summary> /// Class that helps with debugging /// </summary> public class PointerChecker : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler { public void OnPointerEnter(PointerEventData eventData) { Debug.Log($"Pointer has Entered {this.name}"); } public void OnPointerExit(PointerEventData eventData) { Debug.Log($"Pointer has Exited {this.name}"); } }