public static void CustomSubMenu1()
    {
        OpenFileDlg pth = new OpenFileDlg();

        pth.structSize = System.Runtime.InteropServices.Marshal.SizeOf(pth);
        pth.filter     = "支持的模型文件(*.3DXML)\0*.3DXML";

        pth.file         = new string(new char[256]);
        pth.maxFile      = pth.file.Length;
        pth.fileTitle    = new string(new char[64]);
        pth.maxFileTitle = pth.fileTitle.Length;
        pth.initialDir   = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory); // default path
        pth.title        = "导入模型";
        pth.flags        = 0x00080000 | 0x00001000 | 0x00000800 | 0x00000008;

        if (!OpenFileDialog.GetOpenFileName(pth))
        {
            return;
        }

        string filepath = pth.file; //选择的文件路径;
                                    //Debug.Log(filepath);
        XmlModel x = new XmlModel(filepath);

        DestroyImmediate(GameObject.Find("ModelGenerator"));
        x.Render(new GameObject("ModelGenerator"));



        //打出一行字:模板生成在。。。.xml,请手动设置动画参数,或使用第二个选项自动设置参数。
    }