Version: 2019.1
public static float Distance (Vector2Int a, Vector2Int b);

Description

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

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