기술 자료

Unity Engine

Unity Engine

RemoveAtSwapBack(int)

Copies the last element of this list to the specified index. Decrements the length by 1.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void RemoveAtSwapBack(int index)

Parameters

index

The index to overwrite with the last element.

Remarks

Useful as a cheap way to remove an element from this list when you don't care about preserving order.