RemoveAtSwapBack(int)
Copies the last element of this list to an index. Decrements the length by 1.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public void RemoveAtSwapBack(int index)
Parameters
The index to overwrite with the last element.
Remarks
Useful as a cheap way to remove elements from a list when you don't care about preserving order.