Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.