Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

World Space canvas with button is ignored if it is overlap with Screen Space - Overlay canvas

Discussion in 'UGUI & TextMesh Pro' started by ng-pixels, Jan 24, 2015.

  1. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
    Hi,
    I am trying to make mobile touch control with image on the left side for walking and image on the right for looking. Canvas is set to Screen Space - Overlay.
    I have a World Space canvas with a button in a scene.

    When I touch on the walking area I can click the button. But when I touch on looking area I can not click the button. I noticed that I can click the button if the image for looking is above the walking image in the hierarchy.

    I tried adjust objects blocking, blocking mask and sort order. Nothing helped. Do I something wrong or is it a bug?

    Thanks.
     
  2. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
  3. Lukas Samek

    Lukas Samek

    Joined:
    Jan 25, 2015
    Posts:
    1
    Hello,
    I have also the same problem.
     
  4. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
    Nobody?
     
  5. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,685
  6. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
    Thanks. I am using world space canvas for a 3d computer model with a touch screen.