文档

Unity Engine

Download Unity

Unity Engine

RemoveAtSwapBack(int)

Removes the element at the specified index and swaps the last element into its place. This is more efficient than moving all elements following the removed element, but does change the order of elements in the buffer.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Parameters

index

The index of the element to remove.