文档

Unity Engine

Unity Engine

BezierCurveTo(Vector2, Vector2, Vector2)

Adds a cubic bezier curve to the current sub-path to the provided position using two control points.
阅读时间1 分钟最后更新于 1 个月前

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.