Files
GameDevTVObstacleDodge/Library/PackageCache/com.unity.collab-proxy@1ec4e416a4af/Editor/UI/GetWindowIfOpened.cs

26 lines
629 B
C#
Raw Normal View History

2026-01-08 16:50:20 +00:00
using UnityEditor;
using Unity.PlasticSCM.Editor.CloudDrive;
namespace Unity.PlasticSCM.Editor.UI
{
internal static class GetWindowIfOpened
{
internal static UVCSWindow UVCS()
{
if (!EditorWindow.HasOpenInstances<UVCSWindow>())
return null;
return EditorWindow.GetWindow<UVCSWindow>(null, false);
}
internal static CloudDriveWindow CloudDrive()
{
if (!EditorWindow.HasOpenInstances<CloudDriveWindow>())
return null;
return EditorWindow.GetWindow<CloudDriveWindow>(null, false);
}
}
}