I have code that collection positions and tiles and then does this:
_walkableTilemap.SetTiles(
walkableTilemapPositions.ToArray(),
walkableTilemapTiles.ToArray()
);
When walkableTilemapTiles
is holding basic tiles, everything works fine however if it hold rule tiles, it does not work. No error or anything but the tilemap itself does not work. I will not that if I use _walkableTilemap.SetTile()
for each position with rule tiles, everything works fine.
Is there a limitation of what kind of tiles work with _walkableTilemap.SetTiles()
?