GetItemChildren(int, List<int>)
Retrieves a list of hierarchy item children.
阅读时间1 分钟最后更新于 8 小时前
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public void GetItemChildren(int id, List<int> outChildren)
Parameters
Remarks
The result is written to outChildren list which is resized if necessary. The list contains identifiers of item children in order defined by sorting parameters. Identifier defines a specific tree view item in the current frame hierarchy. Different frames have different identifiers for the tree items.
GetItemChildren call builds next hierarchy level making child data available for retrieval.
Additional Resources: TreeViewItem.children.