I need to be able to draw a line from a gameobject that goes off infinitely (or to a really large point) and is aimed with a mouse, kind of like a bubble shooter game. I’ve been looking everywhere and none of the LineRenderer or Raycast2D tutorials really help me with this. Also, if I were drag and aim as if it were on mobile, how would I go about doing that?
EDIT: This is the style of what I need http://answers.unity3d.com/storage/temp/89092-screen-shot-2017-03-01-at-123945-pm.png