4
\$\begingroup\$

I think I am missing something really basic here..., I'm creating a 2D game in unity, and the UI Canvas (with the setting "Screen Space - Overlay") is blocking exactly a quarter of my workspace. I can not select any objects on the top right part of the screen.

Is there any fix to this?, or do I have to move the camera down half of the screen?

Thanks

\$\endgroup\$
1
\$\begingroup\$

Click the canvas and move it back or forwards along the Z axis.

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ Woo!, didn't think about the third axis :D THANKS! \$\endgroup\$ – Prime_Aqasix Mar 6 '15 at 21:49
  • \$\begingroup\$ Glad to help! :) \$\endgroup\$ – JPtheK9 Mar 7 '15 at 0:39
  • 1
    \$\begingroup\$ how did you do this??? Position values in the Rect Transform component are grayed out! :( \$\endgroup\$ – maltalef Oct 9 '15 at 16:25
4
\$\begingroup\$

Layers (top-right of editor) > UI > Lock Layer for Picking (the little padlock)

This will allow any clicks to go through the canvas and reach whatever's behind!

Lock Layer for Picking

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.