RemoveAt(int)
Remove the child element located at this position from this element's contentContainer
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void RemoveAt(int index)
Parameters
Remarks
Removes the element from both the child list and the layout list. If the index is out of range, an exception will be thrown. Trying to remove an element during a layout pass will trigger an invalid operation exception to prevent unintended consequences.