기술 자료

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.