Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in
public void Add(KeyValuePair<TKey, TValue> item)System.Collections.Generic.KeyValuePair<TKey, TValue> item
Method in SerializedDictionary
public bool Remove(KeyValuePair<TKey, TValue> item)System.Collections.Generic.KeyValuePair<TKey, TValue> item
Method in SerializedDictionary
public bool TryGetValue(TKey key, out TValue value)TKey key
Method in SerializedDictionary
public void Add(TKey key, TValue value)TKey key
Method in
Property in
Method in
Indexer in
Property in
Method in
TValue value
TValue value
public bool Contains(KeyValuePair<TKey, TValue> item)System.Collections.Generic.KeyValuePair<TKey, TValue> item
public ICollection<TKey> Keys { get };public bool ContainsKey(TKey key)TKey key
TValue this[TKey key]public bool IsReadOnly { get };public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()Class in Yarn.Unity
Inherits from System.Object
An System.Collections.Generic.IDictionary`2 that can be serialized as part of a Unity object.
public class SerializedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ISerializationCallbackReceiverPrior 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.List1 s: one for TKey , and one for TValue .
Method in SerializedDictionary
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)System.Collections.Generic.KeyValuePair<TKey, TValue>[] array
int arrayIndex
TKey
The type of key used in the dictionary.
TValue
The type of value used in the dictionary.
Property in
public ICollection<TValue> Values { get };