기술 자료

Unity Engine

Unity Engine

AddReplicate(in T, int)

Appends value count times to the end of this list.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

AddReplicate(T, int)

public void AddReplicate(in T value, int count)

Parameters

value

T
The value to add to the end of this list.

count

The number of times to replicate the value.

Remarks

Length is incremented by count. If necessary, the capacity is increased.