Serialize Dictionary and see them visually in inspector
- Make sure you have at least Unity 2017 (previous versions weren't tested)
Take a look at examples in package THERE
To serialize dictionary you need to write short wrapper:
[Serializable]
public class UDictionaryStringInt : UDictionary<string, int> { }
and use it freely in your script
[SerializeField] private UDictionaryStringInt serializedDictionary;
If you want it to be drawed in inspector, you need to assign attribute directly to UDictionaryDrawer or add to its wrapper as you can see THERE
You can freely contribute with me by reporting issues and making pull requests!
Please read CONTRIBUTING.md for details on contributing.
Tomasz Piowczyk - The Creator
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.