NativeList
Initializes and returns a NativeList with a capacity of one.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
NativeList(AllocatorHandle)
Initializes and returns a NativeList with a capacity of one.
public NativeList(AllocatorManager.AllocatorHandle allocator)
Parameters
The allocator to use.
NativeList(int, AllocatorHandle)
Initializes and returns a NativeList.
public NativeList(int initialCapacity, AllocatorManager.AllocatorHandle allocator)