Method GetNearestObjectsByType
GetNearestObjectsByType<T>()
Gets all objects near this location, ordered by distance.
public IEnumerable<T> GetNearestObjectsByType<T>() where T : NwGameObject
Returns
- IEnumerable<T>
Objects of type
Tordered by distance.
Type Parameters
TThe game object type to filter and return.