int LengthSquared { get; set; }

Summary

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;
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.