| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/Vector2Int.Distance.html | [Back] [Original] |
| Parameter | Description |
|---|---|
| a | The first vector to check. |
| b | The second vector to check. |
float
The distance between a and b.
Calculates the distance between two vectors.
Vector2.Distance(a,b) is the same as (a-b).magnitude.
| Web Proxy Viewer | New URL | Original Page |