Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Check click on UI element

$
0
0
Hello.
Previously, I used EventSystem.current.IsPointerOverGameObject() to test the click on a UI element. But with Ui Builder i have false all the time.
EventSystem.current.IsPointerOverGameObject () completely ignores the new UI. Is there a current replacement? Or am I doing something wrong?

I use click to move an object. Now any click on the interface sets the object in motion.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles