GetItemAncestors(int, List<int>)
Retrieves a list of hierarchy item ancestors.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public void GetItemAncestors(int id, List<int> outAncestors)
Parameters
Remarks
The result is written to outAncestors list which is resized if necessary. The list contains identifiers of item parents in bottom-up order.
Additional Resources: GetAncestors.