Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closep1 | The start point. |
p2 | The end point. |
screenSpaceSize | The size in pixels for the lengths of the line segments and the gaps between them. |
Draw a dotted line from p1 to p2.