Hi,
How can I detect whether a GameObject is seen by a Camera or being currently rendered on screen?
Hi,
How can I detect whether a GameObject is seen by a Camera or being currently rendered on screen?
About OnBecameVisible and OnBecameInvisible, there seems to be two tricks :
Thanks, that was so simple ![]()
seem it simple, but if I want appear a popup when detected gameobject by camera, how can i do? Thanks

If you keep track of a true/false boolean variable, and change it to true when the object is visible, back to false when not, then in GUI do something like:
//isVisible is the boolean variable
if (isVisible) {
//display dialog gui
}
Hope this makes sense and helps! ![]()