Class SerializableDictionary<TKey, TValue>
A generic serializable dictionary implementation compatible with Unity's serialization system. Stores key-value pairs in a serializable list, and synchronizes with the base dictionary during serialization and deserialization.
[Serializable]
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>
Type Parameters
| Name | Type | Description |
|---|---|---|
TKey | The type of keys in the dictionary. | |
TValue | The type of values in the dictionary. |