Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddReplicate(in T, int)

Appends value count times to the end of this list.
Read time 1 minuteLast updated 9 days ago

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.