SerializableDictionary

Author: Fredrik Ludvigsen (Steinbitglis)

Description


This script lets you use serializable dictionaries in Unity with little boilerplate per new type.

You can also choose if you want to add a property drawer for the type very easily.

The property drawer is primarily not for complex structures, but they too work in theory.

Usage
For each new dictionary type, add the appropriate code snippets to SerializableDictionaryImplementations and SerializableDictionaryDrawerImplementations.

For convenient usage, implement the fields and getters as shown in Example.