DataConsumerCollection.ItemRemoved(Int32, GameObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional logic that can be provided by a subclasses that's triggered when an item is removed from collection.
public virtual void ItemRemoved(int itemIndex, UnityEngine.GameObject itemPrefab);
abstract member ItemRemoved : int * UnityEngine.GameObject -> unit
override this.ItemRemoved : int * UnityEngine.GameObject -> unit
Public Overridable Sub ItemRemoved (itemIndex As Integer, itemPrefab As GameObject)
Parameters
- itemIndex
- Int32
The collection item index of the item being removed.
- itemPrefab
- UnityEngine.GameObject
The game object or prefab being removed.