The callback that is invoked when the tiles are culled.
It will call a different function based on the map orientation:
Orthogonal (the default) is TilemapComponents.CullTiles
Isometric is TilemapComponents.IsometricCullTiles
Hexagonal is TilemapComponents.HexagonalCullTiles
Staggered is TilemapComponents.StaggeredCullTiles
However, you can override this to call any function you like.
It will be sent 4 arguments:
dirty
property to see if it has changed since the last cull.culledTiles
array, which should be used to store the tiles you want rendered.See the TilemapComponents.CullTiles
source code for details on implementing your own culling system.