private void OnDrawGizmos() { Bezier.DrawPath( curves, path, drawCurve, curveColor, drawHandles, handlesRadius, handlesColor, drawPoints, pointRadius, pointsColor, drawTangents, tangentsSize, tangentsColor, drawNormals, normalsSize, normalsColor, drawBinormals, binormalsSize, binormalsColor ); }
private void OnDrawGizmos() { if (Application.isPlaying && debugEnabled) { Bezier.DrawPath( curves, path, drawCurve, curveColor, drawHandles, handlesRadius, handlesColor, drawPoints, pointRadius, pointsColor, drawTangents, tangentsSize, tangentsColor, drawNormals, normalsSize, normalsColor, drawBinormals, binormalsSize, binormalsColor ); if (lerp) { Gizmos.DrawLine(obj.transform.position, targetPosition); } } }