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

説明

a と b の間の距離を返します

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