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

Description

Возвращает расстояние между a и b.

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