暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }