Unity Engine documentationScript ReferenceUnity.CollectionsINativeList<T>CapacityThe number of elements that fit in the current allocation.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: Unity.Collections Assembly: UnityEngine.ManagedKernelModule int Capacity { get; set; }