Hello! I'm looking for a way to tint tilemap (x, y) to Color c at runtime, so I can vary my tilesets a little without having huge atlases.
I looked at tileMap.ColorChannel.SetColor(x, y, Color.red) but nothing seems to change, even after a rebuild. I've run some tests and ColorChannel.GetColor(x, y) is returning 1, 0, 0, 1 so technically it's worked but my white tiles remain white. Any suggestions? Yes, tileMap is being rebuilt.
EDIT: TileMap->Settings->Layers has a 'Color' button I'd deselected, which explains why tinting didn't work.
However, I'm now aware that tinting the tile map tints all layers, where I'd only want one. I suppose I could keep rolling checks and changing the colour when the tile's changed, but that's potentially fiddly. Are there any other suggestions for ways to set individual tile tints? I'm happy to extend the core tk2d tilemap code if needs be...