IPanel

interface in UnityEngine.UIElements

Description 描述

Interface for classes implementing UI panels.

Properties 属性

contextTypeDescribes in which context a VisualElement hierarchy is being ran.
dispatcherThis Panel EventDispatcher.
focusControllerReturn the focus controller for this panel.
visualTreeRoot of the VisualElement hierarchy.

Public Methods 公共方法

PickReturns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
PickAllReturns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore.