Reputation: 11
In my unity scene, I have two different Canvas, one is set on "Screen Space - Overlay", and the other is set on "World Space". I tried using IsPointerOverGameObject to prevent the clicks on the second canvas to go through, but the first one seems to block everything.
I circled in blue the "World Space" canvas and in red the "Screen Space - Overlay" one. I need to have the blue one stop clicks from going through, but allow the red one to be clicked through.
Thank you.
Upvotes: 1
Views: 2033