Skip to content

ListChangeType Enum

Types of change events that can be raised by a ScriptableList<T>.

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

This type is obsolete. Use NotifyCollectionChangedAction instead.

Called when an item is added to the list.

C#
Added = 0

Called when an item is inserted into the list.

C#
Inserted = 1

Called when an item is removed from the list.

C#
Removed = 2

Called when the list is cleared.

C#
Cleared = 3

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

C#
Set = 4

Called when the list is reversed.

C#
Reversed = 5

Called when the list is sorted.

C#
Sorted = 6

Called when the list is trimmed.

C#
Trimmed = 7