Enemy got lit by flashlight detection

Hi there, so im developing some 3d horror game and i need to check if enemy got lit by player’s flashlight.
Raycasting from camera.transform.forward isnt a solution cause it dont full represent flashlight’s light cone form. Any ideas?

Have you tried a SphereCast? I know it’s not a cone. But it might be close enough for what you’re trying to simulate.