기술 자료

Unity Engine

Unity Engine

Insert(int, in T)

Inserts a single element at an index. Increments the length by 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.