Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnGUI(Rect)

Callback for drawing GUI controls for the popup window.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void OnGUI(Rect rect)

Parameters

rect

The rectangle to draw the GUI inside.

Remarks

Additional Resources: PopupWindow with full example.