VisualTreeAsset.Instantiate

Declaration

public UIElements.TemplateContainer Instantiate();

Returns

TemplateContainer The root of the tree of VisualElements that was just cloned.

Description

Build a tree of VisualElements from the asset.


Declaration

public UIElements.TemplateContainer Instantiate(string bindingPath);

Parameters

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

Returns

TemplateContainer The root of the tree of VisualElements that was just cloned.

Description

Build a tree of VisualElements from the asset.


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