Dictionaries are an important part of modern code. They associate values while providing efficient access. However, Unity does not know how to serialize Dictionaries. This leads to numerous problems.
For this reason we need a SerializableDictionary<TKey, TValue>, which wraps the existing Dictionary but implements ISerilizationCallbackReceiver.
Dictionaries are an important part of modern code. They associate values while providing efficient access. However, Unity does not know how to serialize Dictionaries. This leads to numerous problems.
For this reason we need a
SerializableDictionary<TKey, TValue>
, which wraps the existing Dictionary but implementsISerilizationCallbackReceiver
.