Version: 2023.1

HierarchyFrameDataView.GetItemDescendantsThatHaveChildren

切换到手册
public void GetItemDescendantsThatHaveChildren (int id, List<int> outChildren);

参数

id 层级视图项标识符。
outChildren 使用项的具有子项的所有子项标识符填充的列表。

描述

用于获取具有其他子项的层级视图项后代的列表。

The result is written to outChildren list which is resized if necessary. The call builds the whole hierarchy view tree and can be expensive.

另请参阅:TreeView.GetDescendantsThatHaveChildren

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961