WuhuIslandTesting/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/PlasticSCM/ParentWindow.cs
2025-01-07 02:06:59 +01:00

15 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;
}
}
}