Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LineTo(Vector2)

Adds a straight line to the current sub-path to the provided position.
Read time 1 minuteLast updated 11 days ago

Definition

public void LineTo(Vector2 pos)

Parameters

The end position of the line.