destroyItem
Callback invoked when a VisualElement created via ListView.makeItem is no longer needed and will be destroyed.
読み終わるまでの所要時間 1 分最終更新 21日前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Action<VisualElement> destroyItem { get; set; }
Remarks
The method called by this callback receives the VisualElement that will be destroyed from the pool.