I need to draw a line between two objects above my imagetarget. I' ve read in unity docs and forums about how to draw lines and i ended up using
Debug.DrawLine(Vector3 start, Vector3 end, color, float time);
When i play the application on unitys' editor the line doesn't show up and the same applies to the mobile device i am testing. But, if i press the pause button in unity then the line appears exactly as i expected.
Is there any advice on how to make it work on the device too?
A better approach on drawing lines is also welcome!
thank you in advance