No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ParentWindow.cs 359B

123456789101112131415
  1. using UnityEditor;
  2. namespace Unity.PlasticSCM.Editor
  3. {
  4. internal class ParentWindow
  5. {
  6. internal static EditorWindow Get()
  7. {
  8. if (EditorWindow.HasOpenInstances<PlasticWindow>())
  9. return EditorWindow.GetWindow<PlasticWindow>(false, null, false);
  10. return EditorWindow.focusedWindow;
  11. }
  12. }
  13. }