Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UI in world space (Range handling)

Discussion in 'UGUI & TextMesh Pro' started by DramaDesu, Nov 16, 2014.

  1. DramaDesu

    DramaDesu

    Joined:
    Jan 6, 2013
    Posts:
    14
    Hello there!

    I've some problem with canvas in world space.
    By default I can push buttons and raise on click a quite far. And If I jump on button it raises onlclick too.

    How can I set up range to input canvas and handle input for just clicking.

    Thank you!
     
  2. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    There is currently no option for that. we always look at far away as possible. you'd need to modify the GraphicRaycaster.