文档

Unity Engine

Unity Engine

Capacity

The number of elements that can fit in this list.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Capacity { readonly get; set; }

Remarks

The capacity of a FixedList cannot be changed. The setter is included only for conformity with INativeList<T>.