NativeList
Initializes and returns a NativeList with a capacity of one.
阅读时间1 分钟最后更新于 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)