GetItemDescendantsThatHaveChildren(int, List<int>)
Use to retrieve a list of a hierarchy item descendants which have other children.
Read time 1 minuteLast updated 20 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
public void GetItemDescendantsThatHaveChildren(int id, List<int> outChildren)
Parameters
Remarks
The result is written to outChildren list which is resized if necessary. The call builds the whole hierarchy view tree and can be expensive.
Additional Resources: GetDescendantsThatHaveChildren.