How to serialize Dictionary and DateTime in Unity without external libraries

preview_player
Показать описание
Learn how to efficiently serialize dictionaries, structs and other complex objects in Unity without using any external library in this step-by-step video tutorial. Serialization is a crucial process for saving and loading data in your Unity projects but you need to implement custom methods to do this with some types.

=====

LINKS

=====

Check my other social media (like Twitter, Instagram or TikTok) using one simple link:

Feel free to ask me for something in the comments section. You can also write me some suggestions for this or future videos. Bye!

Just a heads up, some parts of the content in this video could be created by an AI or contains placeholder videos from websites like Pexels. Thanks for indulgence!

=====

#unity #gamedev #tutorial
Рекомендации по теме
Комментарии
Автор

Hi, I tried to code the SerializableDictionary with the SerializableDictionaryElement, however in the inspector I am only able to add one element. The plus sign did nothing neather If I set the elements number manually . You have any idea of why it is happening ?

clouleal
Автор

Why you created SerializedDataObject and didn't show how to get json from it?

dasmartkz