Version: 5.5

HandleUtility.DistancePointLine

Switch to Manual
public static float DistancePointLine (Vector3 point, Vector3 lineStart, Vector3 lineEnd);

Description

Calculate distance between a point and a line.

See Also: ProjectPointLine.