ドキュメント

Unity Engine

Unity Engine

Insert(int, in T)

Inserts a single element at an index. Increments the length by 1.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Insert(int, T)

public void Insert(int index, in T item)

Parameters

index

The index at which to insert the element.

item

T
The element to insert.