SquareDash/Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/ParentWindow.cs
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01:00

16 lines
359 B
C#

using UnityEditor;
namespace Unity.PlasticSCM.Editor
{
internal class ParentWindow
{
internal static EditorWindow Get()
{
if (EditorWindow.HasOpenInstances<PlasticWindow>())
return EditorWindow.GetWindow<PlasticWindow>(false, null, false);
return EditorWindow.focusedWindow;
}
}
}