/// <summary> /// Calculates and draws bezier curves /// </summary> private void Bezier() { CustomGizmos.Bezier(new Vector3(1, 0, 2), new Vector3(.5f, 0, 3), new Vector3(0, 0, 2), 10); CustomGizmos.CubicBezier(new Vector3(1, 0, 3), new Vector3(.5f, 0, 4), new Vector3(0, 0, 3), new Vector3(-1, 0, 4), 10); }