文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetWindowSize()

The size of the popup window.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual Vector2 GetWindowSize()

Returns

Type

Description

Vector2The size of the Popup window.

Remarks

Implement this method only when not using PopupWindowContent.CreateGUI() to provide the content of the popup.
Additional Resources: PopupWindow with full example.