Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to tell if the click is on the UI or an object in the game #275

Open
529124368 opened this issue Jun 11, 2022 · 1 comment
Open

How to tell if the click is on the UI or an object in the game #275

529124368 opened this issue Jun 11, 2022 · 1 comment

Comments

@529124368
Copy link

Excuse me, I use the ray to click the screen to move, but how do I judge whether the click is the UI or the scene in the game, and how to set the penetration filter of the ray

@danaugrs
Copy link
Member

I think raycasting never hits GUI elements, if that's happening please open an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants