Legacy Documentation: Version 2018.1 (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

rectThe rectangle to draw the GUI inside.

Description

Callback for drawing GUI controls for the popup window.

See Also: PopupWindow with full example.

Did you find this page useful? Please give it a rating: