Detect if player is inside a lighting arc?

I have a security camera giving off a light with an arc of 15. How can I detect if the player is touching the lighting arc?

I’m not sure if this’d work, but here’s my approach to it.

Add a cone, make it Is Trigger (a checkbox in the Inspector view under Collider)
Remove the Mesh Renderer

Then add a script to it that has a boolean variable which becomes True
and a function that is OnTriggerEnter.

As soon as he enters that trigger, the boolean turns true.

This way you can use that boolean in another script you have to check if it’s true or false, and act accordingly based on what your game does.