public static drawGizmos ( Vector3 path, float resolution = 50 ) : void | ||
path | Vector3 | |
resolution | float | |
return | void |
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 );
}
GoSpline::drawGizmos ( float resolution ) : void |
/// <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); }