Raycast example for Unity
One turrent rotates 360 degrees and fires a bullet when the target is detected. The debug ray is drawn in the scene view to display the forward facing direction of the turrent.
Please create an issue ticket for all questions and issues. Thank you.