Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VisualElementReference

Creates a new empty VisualElementReference.
Read time 1 minuteLast updated 6 days ago

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.