Initial project commit

This commit is contained in:
2026-01-08 16:50:20 +00:00
commit f0c5a8b267
29596 changed files with 4861782 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using UnityEditor;
using Unity.PlasticSCM.Editor.CloudDrive;
namespace Unity.PlasticSCM.Editor
{
internal class ParentWindow
{
internal static EditorWindow Get()
{
if (EditorWindow.HasOpenInstances<UVCSWindow>())
return EditorWindow.GetWindow<UVCSWindow>(false, null, false);
if (EditorWindow.HasOpenInstances<CloudDriveWindow>())
return EditorWindow.GetWindow<CloudDriveWindow>(false, null, false);
return EditorWindow.focusedWindow;
}
}
}