Merge pull request #7 from LiuOcean/main

后续打开的窗口会自动找到 YooAsset 已存在的 Window Dock
This commit is contained in:
何冠峰
2022-04-28 17:43:59 +08:00
committed by GitHub
6 changed files with 9 additions and 9 deletions
@@ -14,8 +14,7 @@ namespace YooAsset.Editor
[MenuItem("YooAsset/AssetBundle Grouper", false, 101)]
public static void ShowExample()
{
AssetBundleGrouperWindow window = GetWindow<AssetBundleGrouperWindow>();
window.titleContent = new GUIContent("资源包分组工具");
AssetBundleGrouperWindow window = GetWindow<AssetBundleGrouperWindow>("资源包分组工具", true, EditorDefine.DockedWindowTypes);
window.minSize = new Vector2(800, 600);
}