Line Renderer Setup

could someone help me with line renderer

1 what is it 2 what is it best used for 3 how to u set it up, (i know its in component - miscellaneous - line renderer)

what i would like to do is when i swipe the screen on the iphone, i would like to create a line

thanx guys

Questions 1 and 2 are answered here... http://unity3d.com/support/documentation/Components/class-LineRenderer.html

You can simply create a line renderer on the IPhone by setting the Line Render Positions Array property based on the values in iPhone TouchPhase.