Vector2.Distancestatic function Distance (a : Vector2, b : Vector2) : floatDescriptionReturns the distance between a and b. Vector2.Distance(a,b) is the same as (a-b).magnitude |
|
||||
| Scripting > Runtime Classes > Vector2 | ||||
Vector2.Distancestatic function Distance (a : Vector2, b : Vector2) : floatDescriptionReturns the distance between a and b. Vector2.Distance(a,b) is the same as (a-b).magnitude |