ドキュメント

Unity Engine

Unity Engine

RemoveAtSwapBack(int)

Copies the last pointer of this list to the specified index. Decrements the length by 1.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void RemoveAtSwapBack(int index)

Parameters

index

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.