文档

Unity Engine

Unity Engine

Remove(VisualElement)

Removes this child from the VisualElement.hierarchy of its VisualElement.contentContainer.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void Remove(VisualElement element)

Parameters

The child to be removed.

Remarks

If the child is not found in the hierarchy, an ArgumentException will be thrown.