Search Unity

Graphic raycast not blocked by anything

Discussion in 'UGUI & TextMesh Pro' started by Ambrose998800, Aug 18, 2019.

  1. Ambrose998800

    Ambrose998800

    Joined:
    Jun 23, 2015
    Posts:
    74
    Hi there.

    I have some UI elements in the worldspace which should be clickable. That works with the graphic raycaster component, but the UI should also be covered/blocked if there is an object in front of it.

    Whatever I try, the UI element is everytime clickable. Even when I set blocking objects to "Three D" or "All", my cursor act with bthe UI element through everything.

    Any hints to solve this?
     
  2. Ambrose998800

    Ambrose998800

    Joined:
    Jun 23, 2015
    Posts:
    74
    There is also nowhere any good infos about how this works...

    Am I the only one whit this problem?