Version: 2020.3
言語: 日本語
public static float Distance (Vector2Int a, Vector2Int b);

説明

ab の間の距離を返します

Vector2.Distance(a, b)(a-b).magnitude と同じです。