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

"Raycast Target"

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

  1. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,196
    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,196
    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!