How can I make my crosshair more accurate?

Hello, unity community

So I’ve made my shooting script (I’m using the prefab method) and my crosshair is a GUI texture in the centre of the screen. Whenever I shoot though, whether the bullet aims to the crosshair depends on how far it travels.How can I make it accurate?

This question is kind of confusing, but I;m assuming you want the bullet to shoot forward from the cross hair? If so, try making it spawn at the same position and rotation as the main camera.