C# Класс UnityEditor.PopupWindow

Class used to display popup windows that inherit from PopupWindowContent.

Наследование: EditorWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Show ( Rect activatorRect, PopupWindowContent windowContent ) : void

Show a popup with the given PopupWindowContent.

Приватные методы

Метод Описание
FitWindowToContent ( ) : void
Init ( Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper locationPriorityOrder ) : void
Init ( Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper locationPriorityOrder, ShowMode showMode ) : void
OnDisable ( ) : void
OnGUI ( ) : void
PopupWindow ( ) : System
ShouldShowWindow ( Rect activatorRect ) : bool
Show ( Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper locationPriorityOrder ) : void
Show ( Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper locationPriorityOrder, ShowMode showMode ) : void

Описание методов

Show() публичный статический Метод

Show a popup with the given PopupWindowContent.

public static Show ( Rect activatorRect, PopupWindowContent windowContent ) : void
activatorRect UnityEngine.Rect The rect of the button that opens the popup.
windowContent PopupWindowContent The content to show in the popup window.
Результат void