Class BoundsMinMaxExtensions
- Namespace
- RisingV.Shared.Extensions
- Assembly
- RisingV.Shared.dll
Provides extension methods for working with ProjectM.BoundsMinMax and tile entities.
public static class BoundsMinMaxExtensions
- Inheritance
-
BoundsMinMaxExtensions
- Inherited Members
Methods
GetEntitiesInArea(BoundsMinMax, TileType)
Gets entities within a specified area and of a specific tile type.
public static NativeArray<Entity> GetEntitiesInArea(this BoundsMinMax area, TileType tileType)
Parameters
area
BoundsMinMaxThe bounds to search within
tileType
TileTypeThe type of tile to search for
Returns
- NativeArray<Entity>
A NativeArray of entities matching the spatial and tile type criteria