Skip to content

Commit 714ce07

Browse files
author
Jiang Yin
committed
调整工具窗口
1 parent e6b955d commit 714ce07

File tree

6 files changed

+63
-5
lines changed

6 files changed

+63
-5
lines changed

Scripts/Editor/AssetBundleAnalyzer/AssetBundleAnalyzer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ internal sealed class AssetBundleAnalyzer : EditorWindow
5050
[MenuItem("Game Framework/AssetBundle Tools/AssetBundle Analyzer", false, 43)]
5151
private static void Open()
5252
{
53-
AssetBundleAnalyzer window = GetWindow<AssetBundleAnalyzer>(true, "AssetBundle Analyzer", true);
54-
window.minSize = new Vector2(1024f, 768f);
53+
AssetBundleAnalyzer window = GetWindow<AssetBundleAnalyzer>("AB Analyzer", true);
54+
window.minSize = new Vector2(800f, 600f);
5555
}
5656

5757
private void OnEnable()

Scripts/Editor/AssetBundleBuilder/AssetBundleBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ internal sealed class AssetBundleBuilder : EditorWindow
2424
[MenuItem("Game Framework/AssetBundle Tools/AssetBundle Builder", false, 41)]
2525
private static void Open()
2626
{
27-
AssetBundleBuilder window = GetWindow<AssetBundleBuilder>(true, "AssetBundle Builder", true);
28-
window.minSize = window.maxSize = new Vector2(700f, 570f);
27+
AssetBundleBuilder window = GetWindow<AssetBundleBuilder>("AB Builder", true);
28+
window.minSize = new Vector2(700f, 570f);
2929
}
3030

3131
private void OnEnable()

Scripts/Editor/AssetBundleEditor/AssetBundleEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ internal sealed partial class AssetBundleEditor : EditorWindow
4747
[MenuItem("Game Framework/AssetBundle Tools/AssetBundle Editor", false, 42)]
4848
private static void Open()
4949
{
50-
AssetBundleEditor window = GetWindow<AssetBundleEditor>(true, "AssetBundle Editor", true);
50+
AssetBundleEditor window = GetWindow<AssetBundleEditor>("AB Editor", true);
5151
window.minSize = new Vector2(1400f, 600f);
5252
}
5353

Scripts/Editor/AssetBundleSyncTools.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//------------------------------------------------------------
2+
// Game Framework
3+
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
4+
// Homepage: https://gameframework.cn/
5+
// Feedback: mailto:[email protected]
6+
//------------------------------------------------------------
7+
8+
using UnityEditor;
9+
using UnityEngine;
10+
11+
namespace UnityGameFramework.Editor.AssetBundleTools
12+
{
13+
/// <summary>
14+
/// 资源包同步工具。
15+
/// </summary>
16+
internal sealed class AssetBundleSyncTools : EditorWindow
17+
{
18+
[MenuItem("Game Framework/AssetBundle Tools/AssetBundle Sync Tools", false, 44)]
19+
private static void Open()
20+
{
21+
AssetBundleSyncTools window = GetWindow<AssetBundleSyncTools>("AB Sync Tools", true);
22+
window.minSize = new Vector2(400, 300f);
23+
}
24+
25+
private void OnEnable()
26+
{
27+
}
28+
29+
private void Update()
30+
{
31+
}
32+
33+
private void OnGUI()
34+
{
35+
}
36+
}
37+
}

Scripts/Editor/AssetBundleSyncTools/AssetBundleSyncTools.cs.meta

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)