Question by 
               AvocadoYES · Mar 21, 2017 at 12:16 AM · 
                uiguidisplayclick objects  
              
 
              How to display information screen when a game object is clicked?
I have game objects (buildings) that when clicked need to display text about the building. What code can I add to the buildings to make the text visible when clicked?
I have tried adding a Button (script) to the building game object and setting it to GameObject.SetActive and adding the UI Gameobject to react. However, this doesn't seem to work.
               Comment
              
 
               
              Your answer