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 Reporter", false, 103)]
public static void ShowExample()
{
AssetBundleReporterWindow window = GetWindow<AssetBundleReporterWindow>();
window.titleContent = new GUIContent("资源包报告工具");
AssetBundleReporterWindow window = GetWindow<AssetBundleReporterWindow>("资源包报告工具", true, EditorDefine.DockedWindowTypes);
window.minSize = new Vector2(800, 600);
}