расстояние единства между 2 векторами 2d
Vector2.Distance(vector1.position, vector2.position);
TebionDL
Vector2.Distance(vector1.position, vector2.position);
Vector3.Distance(other.position, transform.position);