Add
Adds a pointer to the end of the list.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
Add(IntPtr)
Adds a pointer to the end of the list.
public void Add(in nint value)
Parameters
The pointer to add to the end of this list.
Remarks
Increments the length by 1. Increases the capacity if necessary.
Add(void*)
Adds a pointer to the end of the list.
public void Add(void* value)
Parameters
The pointer to add to the end of this list.
Remarks
Increments the length by 1. Increases the capacity if necessary.