Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


destroyItem

Callback invoked when a VisualElement created via _makeItem is no longer needed and will be destroyed.
Read time 1 minuteLast updated 6 days ago

Definition

public Action<VisualElement> destroyItem { get; set; }

Remarks

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