Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Add(in T)

Adds an element to the end of the list.
Read time 1 minuteLast updated 13 days ago

Definition

Add(T)

public void Add(in T value)

Parameters

value

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

Remarks

Increments the length by 1. Increases the capacity if necessary.