How do I draw rays at a certain angle in Unity?

Let’s say there is an angle of 30 degrees, you need to draw 100 rays, that is, in the game panel, the rays should be visible, and their position should also change depending on the position of the parent object (if you move the parent object, then all the rays should move accordingly)?

Use a bunch of LineRenderers if you need it in the game view.

also gl.line:

one helper method here (pastebin link, attach to Camera, circle drawing method in post below, could be modified for 30’)

you can draw from the objects position, so then lines would follow,
and can add objects eulerangle to line drawing loop get rotation direction.