기술 자료

Unity Engine

Unity Engine

RemoveAt(int)

Remove the child element located at this position from this element's contentContainer
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void RemoveAt(int index)

Parameters

index

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.