Closed hhungria closed 4 years ago
Hey! By default, after a level is generated, new tilemaps (so-called shared tilemaps) are created and all the rooms are copied to these new tilemaps. That's the reason why if you put custom tags onto your room template tilemaps, they are not present on the generated levels.
There are basically two ways to fix that:
level.GetSharedTilemaps()
and correct manually all the tagsThe second option is more like a hotfix but may be a little bit easier to do.
For the future versions of the asset, I plan to implement some auto-inference rules that would try to guess the correct settings of tilemaps and apply that to the result without needing to implement anything yourself. The only problem is that there's nothing to enforce the user to use the same setting across all the room templates. For example, if you forget to set the custom tag on one room template, I cannot know whether it's a mistake and I should ignore it or if it's by design and I cannot infer anything because it's not clear how to do that.
Let me know if you have any other questions or problems!
Closing due to inactivity. Feel free to reopen if needed.
Hello, first I want to tell you that I am using the Pro-Version of your asset and I really find it very interesting.
I have only had 1 problem and it is the following; There is no way to use my own tags for tilemaps.
When the map is generated, the tags that I have put to the customs rooms tile elements are not generated.