Player enter in a security camera’s field of view… The light projected by the camera turn yellow… After 2 second, while player is inside the camera’s fov, the light turn red… When the player is not on camera’s fov, a cool down time is active… After the cool down, the light turn white and camera back to default behavior.
I use OnTriggerStay with a Raycast spotting the player and OnTriggerExit to start the cool down.