Documentation

Unity Engine

Download Unity

Unity Engine

ReserveChildren(in HierarchyNode, int)

Ensures that the hierarchy node has enough memory reserved for storing the specified number of children nodes.
Read time 1 minuteLast updated 3 months ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

ReserveChildren(HierarchyNode, int)

public void ReserveChildren(in HierarchyNode node, int count)

Parameters

The hierarchy node.

count

The number of children nodes to reserve memory for.