System.Collections.Generic.IDictionary`2that can be serialized as part of a Unity object.
public class SerializedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ISerializationCallbackReceiver
Prior to Unity 2020, dictionaries cannot be directly serialized by Unity. This class is a workaround; it provides an API identical to
System.Collections.Generic.Dictionary2</code> , and stores its contents as two <code>System.Collections.Generic.List1s: one for
TKey, and one for