Callbacks
Scriptable List
The Scriptable List has several events that you can subscribe to by code.
OnItemAdded/ OnItemRemoved
Sends the item added/removed as an argument.
OnItemCountChanged
Sends the item added/removed as an argument.
OnItemsAdded / OnItemsRemoved
This event is useful if you don’t want the OnItemAdded/OnItemRemoved event triggered every time you add/remove an item. This will be called once after a range of items have been added/removed.
Last updated