init project

This commit is contained in:
2026-02-16 14:02:58 +01:00
parent 0a3f464e9d
commit 9528038aaa
14854 changed files with 930822 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;
}
}
}