ドキュメント

Unity Engine

Unity Engine

AddReplicate(in T, int)

Appends value count times to the end of this list.
読み終わるまでの所要時間 1 分最終更新 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.