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. Dismiss Notice

World space button

Discussion in 'UGUI & TextMesh Pro' started by mathias234, Aug 22, 2014.

  1. mathias234

    mathias234

    Joined:
    Sep 9, 2012
    Posts:
    239
    Hey I found a little probleme, I sat my canvas to world space then placed it over a building but i cannot click a button which is a child of the world space canvas
     
  2. mathias234

    mathias234

    Joined:
    Sep 9, 2012
    Posts:
    239
    Nobody knows?
     
  3. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,165
    You need to configure the canvas with a reference to the camera that is looking at the canvas.
     
  4. mathias234

    mathias234

    Joined:
    Sep 9, 2012
    Posts:
    239
    I the error i had was that i was looking at behind the canvas so the buttons wasnt clickable when i moved the camera to infront it was fixed :) I guess i just was a little bit tierd yesterday from converting all my GUI to the new
     
    myriamc likes this.