文档

Unity Engine

Unity Engine

AddElementDependencies(IEnumerable<uint>)

Adds a list of dependencies by ID to this element.
阅读时间1 分钟最后更新于 1 个月前

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.