TreeView.destroyItem

public Action<VisualElement> destroyItem;

Description

Callback invoked when a VisualElement created via makeItem is no longer needed and will be destroyed.

The method called by this callback receives the VisualElement that will be destroyed from the pool.


Did you find this page useful? Please give it a rating: