destroyItem
Callback invoked when a VisualElement created via ListView.makeItem is no longer needed and will be destroyed.
읽는 시간 1분최근 업데이트: 20일 전
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.