Version: 2021.1
public UIElements.TemplateContainer Instantiate ();
public UIElements.TemplateContainer Instantiate (string bindingPath);

参数

bindingPath The path to the property that you want to bind to the root of the cloned tree.

返回

TemplateContainer 刚克隆的 VisualElements 树的根。

描述

从资源构建 VisualElements 树。