study/first_study/Library/PackageCache/com.unity.collab-proxy@1ec4e416a4af/Editor/UI/GetWindowIfOpened.cs
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09:00

26 lines
629 B
C#

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