文档

Unity Engine


User Manual

Script Reference

Unity Engine


itemTemplate

A UXML template that constructs each recycled and rebound element within the list. This template is designed to replace the ListView.makeItem definition.
阅读时间1 分钟最后更新于 3 天前

Definition

[UxmlAttribute]public VisualTreeAsset itemTemplate { get; set; }

Remarks

You can use it along with BaseListView.bindingSourceSelectionMode and bindings to have a completely codeless workflow.