文档

Unity Engine

Unity Engine

AddNoResize(in T)

Appends an element to the end of this list. Increments the length by 1.
阅读时间1 分钟最后更新于 1 个月前

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.