Beispiel #1
0
        public static void ShowWindow()
        {
            CodeGeneratorEditor myWindow =
                (CodeGeneratorEditor)GetWindow(typeof(CodeGeneratorEditor), true, "代码模板生成工具", true);  //创建窗口

            myWindow.minSize = new Vector2(425, 540);
            myWindow.maxSize = new Vector2(425, 540);
            myWindow.Show(); //展示
        }
Beispiel #2
0
 public static void CodeGenerator()
 {
     CodeGeneratorEditor.ShowWindow();
 }