기술 자료

Unity Engine

Unity Engine

AddElement(BaseElement)

Adds a new element as a child.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void AddElement(BaseElement element)

Parameters

Element to add as a child.

Remarks

Unity throws an exception if:
  • The provided element already has a parent.
  • A parent of this element has a raw value set.
  • This element has a raw value set.