Files
stas-barecky/Library/PackageCache/com.unity.2d.common@51e9484895c4/Editor/InternalBridge/OverlayPopupWindow.cs
2026-01-08 20:43:08 +05:00

15 lines
434 B
C#

using System;
using UnityEditor.Overlays;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.U2D.Common
{
internal class OverlayPopupWindow : UnityEditor.Overlays.OverlayPopupWindow
{
public new static T Show<T>(VisualElement trigger, Vector2 size) where T : EditorWindow
{
return PopupWindowBase.Show<T>(GUIUtility.GUIToScreenRect(trigger.worldBound), size);
}
}
}