Answer by SnStarr
Try using the new interface public class MyScript : MonoBehaviour, IPointerEnterHandler then add a new function public void OnPointerEnter(PointerEventData dataName) { }
View ArticleAnswer by mk26
// UI elements will receive this hit/hover if (EventSystem.current.IsPointerOverGameObject()) { // UI elements getting the hit/hover }
View Article