Please check out the updated version: • Let's really fix: Saving and Loading Tilem...
For some people the instanceIDs might get changed as they are internal Unity values. Since this never happened for me I thought using this approach should be fine, but I got educated otherwise on my Discord channel.
This code update provides some small fixes and uses Unitys AssetDatabase as a fallback solution to retrieve the TileBase data if no other TileBase has been found with the given instanceID.
The GitHub repository from the original tutorial has been updated.
You can get updated SaveHandler script here: https://tinyurl.com/SaveHandler
=========
💻 CODE: https://github.com/MichelleFuchs/Savi...
💬 DISCORD: / discord
❤ SUPPORT ME: / velvary
🎮 PLAY MY GAMES: https://velvary.itch.io/
🦜 TWITTER: / velvary1
💡 ...MORE TUTORIALS: / velvarygames
=========
Timestamps:
00:00 - Intro
00:16 - The Problem
00:48 - The Solution
01:18 - The Updated Code Explained
04:07 - How To Test
04:24 - Thank you for watching :)
Sur cette page du site, vous pouvez voir la vidéo en ligne Let's Fix: Saving and Loading Tilemaps - Unity Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Velvary 18 janvier 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,739 fois et il a aimé 42 téléspectateurs. Bon visionnage!