Saving and Loading Tilemaps Unity Tutorial
When you create a level for your game, Unity will save it automatically. But what if there will be changes during runtime or even better, the player creates a big part of the tilemap Well then you need to save it on your own. But don t worry, creating a basic saving and loading system is quite easy. If you watched my tutorial about storing data with JSON files, you are perfectly prepared for this, because this is basically what we will do. We are going to save all the tilemaps inside the scene as a JSON file. On loading we read this file and write the data back to the tilemaps. Sounds simple, doesn t it The Full Project: My FileHandler Script: Questions, Ideas, Feedback Join my Discord Server: Want to support me Check out my Patreon: My page: Twitter:
|
|