文档

Unity Engine

Unity Engine

Children()

Returns the elements from its contentContainer.
阅读时间1 分钟最后更新于 1 个月前

Definition

public IEnumerable<VisualElement> Children()

Returns

Remarks

The elements returned by this method are the logical children of the element. This might differ from the physical children of the element if the element's contentContainer property doesn't return the element itself. For more information, refer to VisualElement.contentContainer.
To access the physical children of the element, use VisualElement.Hierarchy.Children.