You'll want to use Camera.ScreenToWorldPoint(Input.mousePoision)
http://docs.unity3d.com/Documentation/ScriptReference/Camera.ScreenToWorldPoint.html
You'll get the point in the world space that the mouse is pointing at, then you can make your bullet along the path from the camera or spawn point, to that position.
↧