internal static void DrawHandle(SplinePoint point, Direction direction, DebugColors.DebugColor color) { // Draw a Handle gizmo var endPoint = point.GetHandle(direction); Gizmos.color = color.wire; Gizmos.DrawLine(point.transform.position, endPoint); Gizmos.DrawSphere(endPoint, 0.05f); }
internal static void DrawLine(Vector3 pointA, Vector3 pointB, DebugColors.DebugColor color) { // Draw a line gizmo Gizmos.color = color.wire; Gizmos.DrawLine(pointA, pointB); }