var window = GetWindow(typeof(MyWindow), true); window.minSize = , ); window.maxSize = window.minSize;
用GetWindow创建窗口时,第二个参数填true。创建为独立的工具窗口,即可恢复边框
2023-09-23 16:24:39
var window = GetWindow(typeof(MyWindow), true); window.minSize = , ); window.maxSize = window.minSize;
用GetWindow创建窗口时,第二个参数填true。创建为独立的工具窗口,即可恢复边框