Method GetNearestObjectsByType
GetNearestObjectsByType<T>()
Gets the nearest object that is of the specified type.
public IEnumerable<T> GetNearestObjectsByType<T>() where T : NwGameObject
Returns
- IEnumerable<T>
Type Parameters
TThe type of object to search.