Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Instantiate

Build a tree of VisualElements from the asset.
Read time 1 minuteLast updated 12 days ago

Definition

Instantiate()

Build a tree of VisualElements from the asset.
public TemplateContainer Instantiate()

Returns

Type

Description

TemplateContainerThe root of the tree of VisualElements that was just cloned.

Instantiate(string)

Build a tree of VisualElements from the asset.
public TemplateContainer Instantiate(string bindingPath)

Parameters

bindingPath

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

Returns

Type

Description

TemplateContainerThe root of the tree of VisualElements that was just cloned.