Unity 3d Editable Dictionary Template
A downloadable tool for Windows, macOS, and Linux
English:
Problems:
- The unity standard inspector does not expose the Dictionary class <Tkey, Tvalue> in the inspector
-Unity does not serialize dictionary information, so all data collected in a dictionary is lost by pressing play or reloading the scene
Solutions:
- Create a custom editor for MonoBehaviour that make use of dictionaries
-Serialize the data contained in the dictionary to be able to modify and save it
- Allow editing of the dictionary via editor as if it were a list but keeping the merits of the dictionary
Italiano:
Problemi:
-L'inspector standard di unity non espone la classe Dictionary<Tkey,Tvalue> nell'inspector
-Unity non serializza le informazioni dei dizionari, quindi tutti i dati raccolti in un dizionario sono perduti premendo play o ricaricando la scena
Soluzioni:
-Creare un custom editor per MonoBehaviour che fanno uso di dizionari
-Serializzare i dati contenuti nel dizionario per poterlo modificare e salvare
-Permettere l'editing del dizionario via editor come fosse una lista ma mantenendo i pregi del dictionary
Status | Released |
Category | Tool |
Platforms | Windows, macOS, Linux |
Author | federyuk91 |
Made with | Unity |
Tags | dictionary, engine-customization, example, inspector, Open Source, sourcecode, Project template, tool, Tutorial, Unity |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.