文档

Unity Engine

Unity Engine

VisualElementReference

Creates a new empty VisualElementReference.
阅读时间1 分钟最后更新于 1 个月前

Definition

VisualElementReference()

Creates a new empty VisualElementReference.
public VisualElementReference()

VisualElementReference(PanelRenderer, AuthoringIdPath)

Creates a new VisualElementReference pointing to the given renderer and path.
public VisualElementReference(PanelRenderer renderer, AuthoringIdPath path)

Parameters

The PanelRenderer that contains the VisualTreeAsset.

The path of the element to reference.