- Home /
Question by
black843 · Dec 24, 2014 at 07:39 PM ·
gameobjectvisible
Detecting if gameobject is visible
Hey!
I would like to detect if a gameobject is behind another gameobject provided by being in my camera seeview.
The problem is that renderer.isVisible just detects if the gameobject is in my seeview but I can't ask for "is the gameobject behind another gameobject" I have not clue how to ask for that.
I hope that there is any solution. Found no threads on that...
Thank's for each answer!!!
Comment
This thread might help you http://answers.unity3d.com/questions/285168/how-to-know-if-an-object-is-ocluded.html
Problem solved. Just used On$$anonymous$$ouseOver() to show the gui. :D
Your answer
