SerializableDictionary


A serializable dictionary class for Unity.

Unity is not able to serialize native dictionaries. Use this class in your ...


by Mathieu Le Ber


★★★★ star rating
Price History +

A serializable dictionary class for Unity.

Unity is not able to serialize native dictionaries. Use this class in your scripts to expose dictionaries in the inspector.

- Derives from Dictionary
- Use any serializable type as key or value
- No need to create custom inspectors
- Handle invalid or duplicated keys and issue a warning

README | Unity forums thread | Available on GitHub | MIT License