기술 자료

Unity Engine

Unity Engine

Length

The count of elements.
읽는 시간 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.