Documentation

Unity Engine

Download Unity

Unity Engine

FindRootPanelComponent(VisualElement)

Finds the root IPanelComponent for the given VisualElement.
Read time 1 minuteLast updated 19 hours ago

Definition

public static IPanelComponent FindRootPanelComponent(this VisualElement element)

Parameters

The element to start the search from.

Returns

Type

Description

IPanelComponentThe root IPanelComponent, or null if none is found.