Function GridLookup.QueryRect
QueryRect<U>
(IntRect r)
Returns all objects of a specific type inside the cells marked by the rectangle.
Public
List<U> QueryRect<U> (
r |
Returns all objects of a specific type inside the cells marked by the rectangle.
Note
For better memory usage, consider pooling the list using Pathfinding.Pooling.ListPool after you are done with it