startPosition | The location where the Bezier starts. |
endPosition | The location where the Bezier ends |
startTangent | The direction the Bezier will start in. |
endTangent | The direction the Bezier will end in. |
Vector3[] The array of the Bezier points.
Retuns an array of points to representing the bezier curve. See Handles.DrawBezier.