SerializableDictionary<TKey,TValue> Class

Definition

Generic Dictionary helper class that handles serialization of keys and values into lists before/after serialization time since Dictionary by itself is not Serializable. Extends C# Dictionary class to support typical API access methods

C++
generic <typename TKey, typename TValue>
public ref class SerializableDictionary : System::Collections::Generic::Dictionary<TKey, TValue>, UnityEngine::ISerializationCallbackReceiver

Type Parameters

TKey

Key type for Dictionary

TValue

Value type for Dictionary

Inheritance
Dictionary<TKey,TValue>
SerializableDictionary<TKey,TValue>
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

Methods

Explicit Interface Implementations

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0