Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
TKey
key
Class in Yarn.Unity
Inherits from IDictionary
2`
An IDictionary<TKey,TValue>
that can be serialized as part of a Unity object.
Prior to Unity 2020, dictionaries cannot be directly serialized by Unity. This class is a workaround; it provides an API identical to Dictionary<TKey, TValue>
, and stores its contents as two List<T>
s: one for TKey
, and one for TValue
.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
KeyValuePair<TKey, TValue>
item
TKey
The type of key used in the dictionary.
TValue
The type of value used in the dictionary.
KeyValuePair<TKey, TValue>[]
array
int
arrayIndex
|
TKey
key
TValue
value
TKey
key
KeyValuePair<TKey, TValue>
item
|
|