Draws a line from the point start to end with color for a duration of time. If duration is 0 then the line is rendered 1 frame.
从start起点到end末点,经过duration一段时间,绘制一条color颜色的线。如果duration为0,那么这条线在1帧中被渲染。
Draws a line from start to start + dir with color for a duration of time. If duration is 0 then the line is rendered 1 frame.
从start起始位置到start+dir,经过duration一段时间,绘制一条color颜色的线。如果duration为0,那么这条线在1帧中被渲染。