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

@@ -11,8 +11,7 @@ namespace YooAsset.Editor
[MenuItem("YooAsset/AssetBundle Debugger", false, 104)]
public static void ShowExample()
{
AssetBundleDebuggerWindow wnd = GetWindow<AssetBundleDebuggerWindow>();
wnd.titleContent = new GUIContent("资源包调试工具");
AssetBundleDebuggerWindow wnd = GetWindow<AssetBundleDebuggerWindow>("资源包调试工具", true, EditorDefine.DockedWindowTypes);
wnd.minSize = new Vector2(800, 600);
}