This version of Unity is unsupported.

Painter2D.LineTo

Declaration

public void LineTo(Vector2 pos);

Parameters

pos The end position of the line.

Description

Adds a straight line to the current sub-path to the provided position.