How to detect an object which be in FOV of certain camera ?

Hey,

I’m working on stealth game, I was trying many ways to make a camera detect an object which be in FOV (field of view) of it.

But I have met many problems, the major problem is when i’m using methods of unity such as (Renderer.isVisible) all cameras of game use the method even scene camera !!!.

How to solve that ?

Note: sorry if my English language is not clear.

You can create a BoundingSphere for your Object: Unity - Scripting API: BoundingSphere

… and then use it with a CullingGroup:

…which allows you to select a target camera.