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

Description

Возвращает длину между а и /b/

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