Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

"Raycast Target"

Discussion in 'Documentation' started by Rodolfo-Rubens, Oct 19, 2015.

  1. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    In the UI components pages like Image, Text and etc, it's missing info about this property "Raycast Target", I tried to find it on the new features in 5.2, 5.1 and so on but couldn't find anything about it.
     
  2. Laurakh

    Laurakh

    Unity Technologies

    Joined:
    Sep 29, 2015
    Posts:
    6
    I see what you mean. I found the "Raycast Target" option in the following dialog boxes but nothing in the manual. I will raise it as a manual bug. Thank you.
    Did you find out what it does in this context?

    GameObject>UI>
    Image
    Raw Image
    Button
    Scrollbar
    Input field
    Panel
     
  3. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    Hi @Laurakh.
    Yes, I think that it will determine if the element will ignore mouse clicks/touches on it...
     
    Laurakh likes this.
  4. Laurakh

    Laurakh

    Unity Technologies

    Joined:
    Sep 29, 2015
    Posts:
    6
    Aah, OK! Thank you!