Hi,
I use the various EventSystems.EventSystem.IPointer[…]Handler interfaces to retrieve pointer interactions with a collider on a certain layer.
Problem is that I can track when pointer enters and leaves the collider, but I can’t seem to determine wether the pointer is already over the collider’s position before the collider is created.
IsPointerOverGameObject does not seem to work in the same way as the IPointer… interfaces. For example, OnPointerClick is not called when the collider is blocked by a UI element. But IsPointerOverGameObject always returns true so I see no use for it.
Q: Is there a way to determine to check each frame wether the Pointer is over a game object in a certain layer and not blocked by UI in the same manner as the other pointer event handlers?
Cheers,
Rob