How do you switch the image in a tile source in script?

I want the player to change the look of the game, but I can’t find how you change the tilesource image in script. How do you do that?

You can do it with modifying the buffer data of the resource texture. Obviously not the easy solution you would want but it is possible to do. I can make an example if you need.

2 Likes

Sure, an example would be nice