Callbacks

Scriptable List

The Scriptable List has several events that you can subscribe to by code.

  1. OnItemAdded/ OnItemRemoved

Sends the item added/removed as an argument.

  1. OnItemCountChanged

Sends the item added/removed as an argument.

  1. 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