Version: 2020.3

ListView.showBoundCollectionSize

切换到手册
public bool showBoundCollectionSize ;

描述

When you bind a list view to an array, this property controls whether the list view displays the collection size as the first list item. Set to true to display the collection size, false to omit it. Default is true. See Also: UnityEditor.UIElements.BindingExtensions.Bind