Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddElementDependencies(IEnumerable<uint>)

Adds a list of dependencies by ID to this element.
Read time 1 minuteLast updated 11 days ago

Definition

public void AddElementDependencies(IEnumerable<uint> elements)

Parameters

Collection of elements this element will depend on.

Remarks

This element depends on the given elements and therefore will be printed below the specified elements in the generated file.
Unity throws an exception if:
  • Any of the provided elements do not share the same parent.
  • Any of the provided elements are empty.
  • This element is empty.