Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Reserve(int)

Reserve enough memory to contain the specified number of elements.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public void Reserve(int capacity)

Parameters

capacity

The requested capacity.