Files

16 lines
354 B
C#
Raw Permalink Normal View History

2025-08-05 09:30:40 +01:00
using UnityEditor;
namespace Unity.PlasticSCM.Editor.UI
{
internal static class GetWindowIfOpened
{
internal static PlasticWindow Plastic()
{
if (!EditorWindow.HasOpenInstances<PlasticWindow>())
return null;
return EditorWindow.GetWindow<PlasticWindow>(null, false);
}
}
}