All YooAsset Window Auto Dock

This commit is contained in:
L
2022-04-26 19:41:06 +08:00
parent 66c3c4862a
commit ff74dcdd8b
6 changed files with 9 additions and 9 deletions

View File

@@ -14,8 +14,7 @@ namespace YooAsset.Editor
[MenuItem("YooAsset/AssetBundle Builder", false, 102)]
public static void ShowExample()
{
AssetBundleBuilderWindow window = GetWindow<AssetBundleBuilderWindow>();
window.titleContent = new GUIContent("资源包构建工具");
AssetBundleBuilderWindow window = GetWindow<AssetBundleBuilderWindow>("资源包构建工具", true, EditorDefine.DockedWindowTypes);
window.minSize = new Vector2(800, 600);
}