XDracam / unity-corelibrary

Collection of classes and extension methods that make life with Unity3D more comfortable
MIT License
15 stars 3 forks source link

Serializable dictionary #16

Closed XDracam closed 5 years ago

XDracam commented 5 years ago

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.

XDracam commented 5 years ago

Closed in favor of this free plugin.