Class DictionaryAsset
Inheritance
DictionaryAsset
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[IncludeInSettings(false)]
public sealed class DictionaryAsset : LudiqScriptableObject, ISerializationCallbackReceiver, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Properties
Count
Declaration
public int Count { get; }
Property Value
dictionary
Declaration
[Serialize]
public Dictionary<string, object> dictionary { get; }
Property Value
Item[String]
Declaration
public object this[string key] { get; set; }
Parameters
Type |
Name |
Description |
String |
key |
|
Property Value
Keys
Declaration
public ICollection<string> Keys { get; }
Property Value
Values
Declaration
public ICollection<object> Values { get; }
Property Value
Methods
Add(String, Object)
Declaration
public void Add(string key, object value)
Parameters
Clear()
Declaration
ContainsKey(String)
Declaration
public bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Merge(DictionaryAsset, Boolean)
Declaration
public void Merge(DictionaryAsset other, bool overwriteExisting = true)
Parameters
OnAfterDeserialize()
Declaration
protected override void OnAfterDeserialize()
Overrides
Remove(String)
Declaration
public bool Remove(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
ShowData()
Declaration
[ContextMenu("Show Data...")]
protected override void ShowData()
Overrides
TryGetValue(String, out Object)
Declaration
public bool TryGetValue(string key, out object value)
Parameters
Returns
Extension Methods