Created unity project
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user