기술 자료

Unity Engine

Unity Engine

PopupWindowContent

Class used to implement content for a popup window.
읽는 시간 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.