I am working in game project (shooter game)
I want my player to have a shoot ray show the point of impact
The Player ------------> my target
how can I approach this in untiy5 using C#
You need to do a raycast forward from the camera and check what did it hit.
When you have both points (one being the weapon/camera, second the place it hit) connect them with a line using a line renderer.