C# Class UnityEditor.PopupWindow

Class used to display popup windows that inherit from PopupWindowContent.

Inheritance: EditorWindow
Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Show ( Rect activatorRect, PopupWindowContent windowContent ) : void

Show a popup with the given PopupWindowContent.

Private Methods

Method Description
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

Method Details

Show() public static method

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.
return void