public Vector3 GetPoint(float t) { Vector3 point = Bezier.GetPoint2(points[0], points[1], points[2], points[3], t); return(transform.TransformPoint(point)); }