Version: 5.6
public static float Distance (Vector2 a, Vector2 b);

설명

Returns the distance between a and b.

Vector2.Distance(a,b) is the same as (a-b).magnitude.