test
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using UnityEditor;
|
||||
|
||||
namespace Unity.PlasticSCM.Editor
|
||||
{
|
||||
internal class ParentWindow
|
||||
{
|
||||
internal static EditorWindow Get()
|
||||
{
|
||||
if (EditorWindow.HasOpenInstances<PlasticWindow>())
|
||||
return EditorWindow.GetWindow<PlasticWindow>(false, null, false);
|
||||
|
||||
return EditorWindow.focusedWindow;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user