Hi there…
THis one is my Tileset Material:
I added a Tileset inside my Material Instance of this, and changed TilesInX/Y to 4,8 (4 Tiles on X, 8 on Y).
Sow, when i set SelectIndex to a Number between 0 and 3 (rounded), it should show the Tiles of the first row of the Tileset. Works!
Unfortunally, Indexes from 4 to 7 are shown the same Tiles, too - Instead of the second row. The Material shows the Second row when entering 5 to 8 OR 9 to 12…
So it changes its rows only each 8 Indexes, instead of every 4…
So… i´m blocked and sitting here to fix it for around 8 hours now…
Do you guys have an idea?
Solved!
Needed to divide the Index by TilesX, instead of TilesY.