Length
The count of elements.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public int Length { readonly get; set; }
Remarks
To decrease the memory used by a list, set NativeList<T>.Capacity after reducing the length of the list.