Vector2Int.LengthSquared

int LengthSquared { get; set; }

Description

Squared length of the integer vector. This is faster than <see cref="P:Vector2Int.Length">Length</see>, and can be used for things like comparing distances, as long as only squared values are used."/&gt;

Return

User Comments