Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PopupWindowContent.OnGUI

public void OnGUI(Rect rect);

Parameters

rect The rectangle to draw the GUI inside.

Description

Callback for drawing GUI controls for the popup window.

See Also: PopupWindow with full example.