BaseBlock.AddElement

Declaration

public void AddElement(Unity.Android.Gradle.BaseElement element);

Parameters

element Element to add as a child.

Description

Adds a new element as a child.

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.


Did you find this page useful? Please give it a rating: