ドキュメント

Unity Engine

Unity Engine

Show(Rect, PopupWindowContent)

Show a popup with the given PopupWindowContent.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void Show(Rect activatorRect, PopupWindowContent windowContent)

Parameters

activatorRect

The rect of the button that opens the popup.

windowContent

The content to show in the popup window.

Remarks

Additional Resources: PopupWindow with full example.