Method AddCellPosition
AddCellPosition(FieldSpawner, EAxis, EPositionMode, int, int, Vector2Int?)
Add SR_CellPosition: filter cells by single-axis grid coordinate. Used to pin spawns to exact cells (combine X+Z rules) or rows/columns.
protected SR_CellPosition AddCellPosition(FieldSpawner spawner, SR_CellPosition.EAxis axis, SR_CellPosition.EPositionMode mode, int exact = 0, int offset = 0, Vector2Int? range = null)
Parameters
spawnerFieldSpawneraxisSR_CellPosition.EAxismodeSR_CellPosition.EPositionModeexactintoffsetintrangeVector2Int?
Returns
- SR_CellPosition