Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ArcTo(Vector2, Vector2, float)

Adds an arc to the current sub-path to the provided position using a control point.
Read time 1 minuteLast updated 9 days ago

Definition

public void ArcTo(Vector2 p1, Vector2 p2, float radius)

Parameters

The first control point of the arc.

The final point of the arc.

radius

The radius of the arc.