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
@@ -12,7 +12,7 @@ namespace YooAsset.Editor
{
if (_thisInstance == null)
{
_thisInstance = EditorWindow.GetWindow(typeof(ShaderVariantCollectionWindow), false, "着色器变种收集工具", true) as ShaderVariantCollectionWindow;
_thisInstance = GetWindow<ShaderVariantCollectionWindow>("ShaderVariant Collector", true, EditorDefine.DockedWindowTypes);
_thisInstance.minSize = new Vector2(800, 600);
}
_thisInstance.Show();