- Home /
Best way to, change world tileset/tile pallet
Am working on a 2D platformere were I want to change the world around me when picking up an item,
ex: if the tile set is a "forest" and when you get the item the world become a "cave", I am not sure how to do this in the best way. The map layout I want to stay the same I just want to change the world. So is this even possible to do?
I tried looking at the https://docs.unity3d.com/ScriptReference/Tilemaps.Tilemap.SwapTile.html code but it dose not explain how to use it that well.
By that, I understand it is a script, but it dose not say, should I put it on a object, or can I use it anywhere and what is the "item" I can put in the public slot.
Any Ides or helps are appreciated. Best regards Tuffsruffs
Your answer
Follow this Question
Related Questions
How can I get the world position of a Tile? 2 Answers
[Solved] Isometric Rule Tiles not Following Guidelines. 0 Answers
"Random" Rule Tile 3 Answers
Remove a single tile from a tilemap 1 Answer
How do you rotate a tile? 1 Answer