Version: 2022.3
언어: 한국어
public static float Distance (Vector2Int a, Vector2Int b);

설명

Returns the distance between a and b.

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