ugui how to get current hover gameobject

ugui how to get current hover gameobject

Look here: Where did EventSystem.GetCurrentPointerData go? - Unity Answers

It’s not as straightforward as it should, but that should work. Inherit from StandaloneInputModule and you have access to the current PointerEventData and the pointerEnter variable. Also note that only UI objects with an Image component trigger pointer events.