arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.2d.common@dd402daace1b/Editor/InternalBridge/OverlayPopupWindow.cs

15 lines
434 B
C#
Raw Normal View History

2025-09-25 22:01:28 +02:00
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);
}
}
}