public static void drawGizmos( Vector3[] path, float resolution = 50 ) { // horribly inefficient but it only runs in the editor var spline = new GoSpline( path ); spline.drawGizmos( resolution ); }
/// <summary> /// helper for drawing gizmos in the editor /// </summary> public static void drawGizmos(Vector3[] path, float resolution = 50) { // horribly inefficient but it only runs in the editor var spline = new GoSpline(path); spline.drawGizmos(resolution); }