文档

Unity Engine


User Manual

Script Reference

Unity Engine


SetReference(PanelRenderer, AuthoringIdPath)

Sets the reference to point to the given document and path.
阅读时间1 分钟最后更新于 21 天前

Definition

public void SetReference(PanelRenderer renderer, AuthoringIdPath path)

Parameters

The PanelRenderer that contains the VisualTreeAsset with the element we want to reference.

The path of the element to reference.