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 :)
In questa pagina del sito puoi guardare il video online Let's Fix: Saving and Loading Tilemaps - Unity Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Velvary 18 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,739 volte e gli è piaciuto 42 spettatori. Buona visione!