Remove(VisualElement)
Removes this child from the hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void Remove(VisualElement child)
Parameters
Remarks
This method will first calculate the index of the child, followed by calling the VisualElement.Hierarchy.RemoveAt method to remove it from the hierarchy. If the element is null or not present in the hierarchy, an exception will be thrown.