Tanoda
|
In order to have this class be serialized, you will always need to create your own non-generic version specific to your needs. This is the same workflow that exists for using the UnityEvent class as well. More...
Public Member Functions | |
void | Add (TKey key, TValue value) |
void | Clear () |
bool | ContainsKey (TKey key) |
bool | ContainsValue (TValue value) |
bool | Remove (TKey key) |
bool | TryGetValue (TKey key, out TValue value) |
Dictionary< TKey, TValue >.Enumerator | GetEnumerator () |
virtual float | KeyDisplayRatio () |
Returns how much of the display space should be allocated to the key. Should be a value in the range 0-1. More... | |
override string | ToString () |
void | OnAfterDeserialize () |
void | OnBeforeSerialize () |
float | KeyDisplayRatio () |
Static Public Member Functions | |
static implicit | operator Dictionary< TKey, TValue > (SerializableDictionary< TKey, TValue > serializableDictionary) |
Properties | |
TValue | this[TKey key] [get, set] |
Dictionary< TKey, TValue >.KeyCollection | Keys [get] |
Dictionary< TKey, TValue >.ValueCollection | Values [get] |
int | Count [get] |
In order to have this class be serialized, you will always need to create your own non-generic version specific to your needs. This is the same workflow that exists for using the UnityEvent class as well.
Definition at line 39 of file SerializableDictionary.cs.
void Leap.Unity.SerializableDictionary< TKey, TValue >.Add | ( | TKey | key, |
TValue | value | ||
) |
Definition at line 73 of file SerializableDictionary.cs.
void Leap.Unity.SerializableDictionary< TKey, TValue >.Clear | ( | ) |
Definition at line 77 of file SerializableDictionary.cs.
bool Leap.Unity.SerializableDictionary< TKey, TValue >.ContainsKey | ( | TKey | key | ) |
Definition at line 81 of file SerializableDictionary.cs.
bool Leap.Unity.SerializableDictionary< TKey, TValue >.ContainsValue | ( | TValue | value | ) |
Definition at line 85 of file SerializableDictionary.cs.
Dictionary< TKey, TValue >.Enumerator Leap.Unity.SerializableDictionary< TKey, TValue >.GetEnumerator | ( | ) |
Definition at line 97 of file SerializableDictionary.cs.
|
virtual |
Returns how much of the display space should be allocated to the key. Should be a value in the range 0-1.
Implements Leap.Unity.ISerializableDictionary.
Definition at line 115 of file SerializableDictionary.cs.
void Leap.Unity.SerializableDictionary< TKey, TValue >.OnAfterDeserialize | ( | ) |
Definition at line 136 of file SerializableDictionary.cs.
void Leap.Unity.SerializableDictionary< TKey, TValue >.OnBeforeSerialize | ( | ) |
Definition at line 204 of file SerializableDictionary.cs.
|
static |
Definition at line 105 of file SerializableDictionary.cs.
bool Leap.Unity.SerializableDictionary< TKey, TValue >.Remove | ( | TKey | key | ) |
Definition at line 89 of file SerializableDictionary.cs.
override string Leap.Unity.SerializableDictionary< TKey, TValue >.ToString | ( | ) |
Definition at line 119 of file SerializableDictionary.cs.
bool Leap.Unity.SerializableDictionary< TKey, TValue >.TryGetValue | ( | TKey | key, |
out TValue | value | ||
) |
Definition at line 93 of file SerializableDictionary.cs.
|
get |
Definition at line 69 of file SerializableDictionary.cs.
|
get |
Definition at line 61 of file SerializableDictionary.cs.
|
getset |
Definition at line 56 of file SerializableDictionary.cs.
|
get |
Definition at line 65 of file SerializableDictionary.cs.