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

説明

a と b の間の距離を返します

Vector2.Distance(a, b) は (a-b).magnitude と同じです。