Skip to content

DictionaryChangeType Enum

Type of change events that can be raised by a ScriptableDictionary<TKey, TValue>.

C#
[Obsolete("No longer used. This will be removed in builds.", true)]
public enum DictionaryChangeType

This type is obsolete. Use NotifyCollectionChangedAction instead.

Called when an item is added to the dictionary.

C#
Added = 0

Called when an item is removed from the dictionary.

C#
Removed = 1

Called when the dictionary is cleared.

C#
Cleared = 2

Called when an item is set in the dictionary using the indexer.

C#
Set = 3

Called when the dictionary is trimmed.

C#
Trimmed = 4