Documentation

Unity Engine

Unity Engine

hierarchyCount

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

Definition

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

Remarks

Additional Resources: Transform.hierarchyCapacity.