Method DestroyItem
DestroyItem(DropdownItem)
Convenience method to explicitly destroy the previously generated Items.
Declaration
protected virtual void DestroyItem(TMP_Dropdown.DropdownItem item)
Parameters
Type | Name | Description |
---|---|---|
TMP_Dropdown.DropdownItem | item | The Item to destroy. |
Remarks
Override this method to implement a different way to dispose of an option item. Likely no action needed since destroying the dropdown list destroys all contained items as well.