Draw path with finger, Help

I need to draw a line with the finger. and them when finger release, the draw dissapear, or can have a reset button.

Help please!

How does your script works / looks so far, do you get the touch event position?

the code, is with error, here is the code.

ah… you are mixing c# and unityscript in one file, what language are you trying to use?

note: also a semi-colon after the class name is…a no-no.

I wrote a post about it here:

http://www.aportagames.com/blog/2014/5/16/doodling-roads-creating-3d-vectors-in-unity-with-vectrosity-tutorial