Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


hierarchyCount

The number of transforms in the transform's hierarchy data structure.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int hierarchyCount { get; }

Remarks

Additional Resources: Transform.hierarchyCapacity.