文档

Unity Engine

Unity Engine

Add(in T)

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

Definition

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

Add(T)

public void Add(in T value)

Parameters

value

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

Remarks

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