C# Class UnityEditor.PopupWindowContent

Class used to implement content for a popup window.

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetWindowSize ( ) : Vector2

The size of the popup window.

OnClose ( ) : void

Callback when the popup window is closed.

OnGUI ( Rect rect ) : void

Callback for drawing GUI controls for the popup window.

OnOpen ( ) : void

Callback when the popup window is opened.

Protected Methods

Method Description
PopupWindowContent ( ) : System

Method Details

GetWindowSize() public method

The size of the popup window.

public GetWindowSize ( ) : Vector2
return Vector2

OnClose() public method

Callback when the popup window is closed.

public OnClose ( ) : void
return void

OnGUI() public abstract method

Callback for drawing GUI controls for the popup window.

public abstract OnGUI ( Rect rect ) : void
rect UnityEngine.Rect The rectangle to draw the GUI inside.
return void

OnOpen() public method

Callback when the popup window is opened.

public OnOpen ( ) : void
return void

PopupWindowContent() protected method

protected PopupWindowContent ( ) : System
return System