Initial commit

This commit is contained in:
2026-03-03 00:39:30 +05:00
commit fc01f07d9b
29933 changed files with 5353098 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using UnityEditor;
#if !UNITY_6000_3_OR_NEWER
using Unity.PlasticSCM.Editor.UnityInternals.UnityEditor;
using EditorWindow = UnityEditor.EditorWindow;
using DockArea = Unity.PlasticSCM.Editor.UnityInternals.UnityEditor.DockArea;
#endif
namespace Unity.PlasticSCM.Editor.UI
{
internal static class DockEditorWindow
{
internal static void To(EditorWindow dockWindow, EditorWindow window)
{
#if !UNITY_6000_3_OR_NEWER
DockArea dockArea = dockWindow.m_Parent() as DockArea;
#else
DockArea dockArea = dockWindow.m_Parent as DockArea;
#endif
if (dockArea == null)
return;
dockArea.AddTab(window);
}
}
}