文档

Unity Engine

Unity Engine

PopupWindowContent

Class used to implement content for a popup window.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public abstract class PopupWindowContent

Remarks

Additional Resources: PopupWindow with full example.

Properties

Property

Description

editorWindowThe EditorWindow that contains the popup content.

Methods

Method

Description

CreateGUICreates custom GUI with UI Toolkit for the popup.
GetWindowSizeThe size of the popup window.
OnCloseCallback when the popup window is closed.
OnGUICallback for drawing GUI controls for the popup window.
OnOpenCallback when the popup window is opened.