ドキュメント

Unity Engine

Download Unity

Unity Engine

GetItemDescendantsThatHaveChildren(int, List<int>)

Use to retrieve a list of a hierarchy item descendants which have other children.
読み終わるまでの所要時間 1 分最終更新 10日前

Definition

public void GetItemDescendantsThatHaveChildren(int id, List<int> outChildren)

Parameters

id

Hierarchy item identifier.

outChildren

List filled with item all child identifiers which have children.

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.