How to check if an object is in the players view?

Hey,
Can anyone please tell me how to check if an object, and by extension its children, are within the player’s view?
Thanks.

Well, to see if it is within view of any camera, you can check renderer.isVisible:

if(renderer.isVisible)
// camera can see it

if you mean, is it in line of sight of the character, that’s a bit more complicated though, you would probably use a raycast forward from the character object… not sure which you mean