Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Capacity

The number of elements that can fit in this list.
Read time 1 minuteLast updated 11 days ago

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>.