- Home /
Draw a line between two points Dynamically ?
Hi All,
I want to note the **Touch points(Finger touch on the screen)** on the device(Android)screen.
Once if a person touches for two consecutive times. It should draw a line between those two points.
This should repeat every time Dynamically load the Touch points and Draw a line between those two points.
I dont have Vectrosity.
I want to do it on android device without using Vectrosity.
We have Debug.drawline for sceneview but i want on real device to note the points and Join them.
Please guide me.. Sorry for my bad English..
Thank you in advance...
Answer by whydoidoit · Mar 19, 2013 at 01:49 PM
You can use a LineRenderer to draw a line without using Vectrosity.
Answer by Ravi M L · Mar 20, 2013 at 05:42 AM
Hi,
Thanks for the response.
**How to store the values inside the Elements of the LineRenderer**.
If we touch the screen for four consecutive times, How to store all the four values inside LineRenderer Elements.
Once it finish to store values, How to draw a lines from 1-2, 2-3, 3-4, 4-1 values.
Sorry for bad English.
Please help me Regarding this ...
Your answer
![](https://koobas.hobune.stream/wayback/20220613094709im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
help with touch button (android) 1 Answer
Touch Not Working 0 Answers
Make an object move in the direction of touch 0 Answers
A node in a childnode? 1 Answer