Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PopupWindowContent

Class used to implement content for a popup window.
Read time 1 minuteLast updated 5 days ago

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.