Version: 1.4
LanguageEnglish
  • C#

IPanel

interface in UnityEngine.UIElements

Description

Interface for classes implementing UI panels.

Properties

contextType Describes in which context a VisualElement hierarchy is being ran.
contextualMenuManager The Contextual menu manager for the panel.
dispatcher This Panel EventDispatcher.
focusController Return the focus controller for this panel.
isDirty This method returns true if any state was changed on an element of this panel since the last render of the panel.
visualTree Root of the VisualElement hierarchy.

Public Methods

Pick Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
PickAll Returns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答