Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BezierCurveTo(Vector2, Vector2, Vector2)

Adds a cubic bezier curve to the current sub-path to the provided position using two control points.
Read time 1 minuteLast updated 10 days ago

Definition

public void BezierCurveTo(Vector2 p1, Vector2 p2, Vector2 p3)

Parameters

The first control point of the cubic bezier.

The second control point of the cubic bezier.

The final position of the cubic bezier.