- Home /
how to draw a line with your finger
Hello! I'm new in Unity and have a question:
I have image with dash line (- - - - - - - - -) - contours of the object. I touch finger on this contours and line become full. How can i do this?
I think to make one image with dash line, one image with full line. Smash images to little areas and then check the touch coordinates and change "image1 touch area" to "image2 touch area". It'is correct? how to do it?
Answer by rutter · Mar 16, 2012 at 04:51 PM
Depending on what exactly you're trying to do, it sounds like you want a LineRenderer or TrailRenderer.
Your answer
Follow this Question
Related Questions
Problem with image press event 0 Answers
How to make the back image appear before the front image where it is scratched? 0 Answers
Cannot click button hidden under image 0 Answers
Detecting onDrag over UI images 1 Answer
Scaling giant images as 2D Sprite 0 Answers