Version: 2017.2
public static float DistancePointLine (Vector3 point, Vector3 lineStart, Vector3 lineEnd);

설명

Calculate distance between a point and a line.

See Also: ProjectPointLine.