I used a series of raycasts every few degrees for each robot's field of view and check if the collider hit is the player's. It's super inefficient for large numbers of robots but I didn't have time to optimise. The red light effect is all done by the Unity lighting system.