Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Remove(VisualElement)

Removes this child from the VisualElement.hierarchy of its VisualElement.contentContainer.
Read time 1 minuteLast updated 8 days ago

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.