hii,i need to draw a line on mouse click in unity. Can you please suggest me how to do it..?

You have couple of options, there is already tons of answered questions for this though so I would suggest that you look into some of them :

You can also check :
http://wiki.unity3d.com/index.php?title=DrawLine

Also you didn’t write is this for debugging or game view. If it’s for the first you can also use

Debug.DrawLine

Small tip, Use title for short explanation of what you need done and body of the question to explain what you actually want in detail :slight_smile:

I hope this helped.

Thank you very much... Yes it did work...And i got your point. :)

1 Answer

1

Take a look to the asset Vectrosity