Hey everyone,
I’m new to the forums, and I’ve got a question regarding the camera.
Is there a way to get references to the objects that are rendered by the camera as opposed to off-screen?
Thanks
Hey everyone,
I’m new to the forums, and I’ve got a question regarding the camera.
Is there a way to get references to the objects that are rendered by the camera as opposed to off-screen?
Thanks
You can check what objects are actually visible or not using:
OnBecameVisible and
OnBecameInvisible.
This function is only useful to detect is something is being rendered. The object itself can still be invisible (as in; behind a wall/tree/whatever).