Create the tilemap component.
Namespace:
GeonBit.ECS.Components.Misc
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public TileMap(
Vector2 tileSize,
ushort batchSize = 10
)
Parameters
- tileSize
- Type: Vector2
The size of a single tile. - batchSize (Optional)
- Type: SystemUInt16
How many tiles there are on X and Y axis of a single tiles batch (used for culling optimizations).
See Also