public class InterfacePointerWatcher : MonoBehaviour, IPointerEnterHandler,
IPointerExitHandler
{
public void OnPointerEnter(PointerEventData eventData)
{
PointerOnInterface.pointerOnInterface();
}
public void OnPointerExit(PointerEventData eventData)
{
PointerOnInterface.pointerExitInterface();
}
}