Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PopupWindowContent.OnGUI

Switch to Manual
public function OnGUI(rect: Rect): void;

Parameters

rect The rectangle to draw the GUI inside.

Description

Callback for drawing GUI controls for the popup window.