ドキュメント

Unity Engine

Unity Engine

AddElement(BaseElement)

Adds a new element as a child.
読み終わるまでの所要時間 1 分最終更新 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.