A game about forced loneliness, made by TACStudios
1using UnityEditor;
2
3namespace Unity.PlasticSCM.Editor.UI
4{
5 internal static class GetWindowIfOpened
6 {
7 internal static PlasticWindow Plastic()
8 {
9 if (!EditorWindow.HasOpenInstances<PlasticWindow>())
10 return null;
11
12 return EditorWindow.GetWindow<PlasticWindow>(null, false);
13 }
14 }
15}