RemoveAtSwapBack(int)
Copies the last pointer of this list to the specified index. Decrements the length by 1.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public void RemoveAtSwapBack(int index)
Parameters
The index to overwrite with the last pointer.
Remarks
Useful as a cheap way to remove a pointer from this list when you don't care about preserving order.