Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddNoResize(in T)

Appends an element to the end of this list. Increments the length by 1.
Read time 1 minuteLast updated 12 days ago

Definition

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

AddNoResize(T)

public void AddNoResize(in T item)

Parameters

item

T
The element to append at the end of the list.

Remarks

If the element exceeds the capacity, throws cref="IndexOutOfRangeException", and the list is unchanged.