Closed neepsnikeep closed 8 hours ago
Hi, sorry for taking a while to get back to you. It is not clear what the problem is from this code, as it looks correct. Can you provide a more detailed example?
Oooh got it, sorry, the calculation for the newTerrain used the previous terrain and I forgot to use GetCell there instead of tileData.Terrain. Time to refactor! Thanks for confirming it's not this part of the code.
Thanks for the great plugin! I want the player to change terrain, and the
TileData.Terrain
does not seem to be used by this plugin. I struggle to use the Terrains I set up in the editor.I tried this:
What am I doing wrong?