文档

Unity Engine

Unity Engine

OnGUI(Rect)

Callback for drawing GUI controls for the popup window.
阅读时间1 分钟最后更新于 1 个月前

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.