public void ExpoortImageFile(ExportPathHelper pathHelper)
 {
     if (texcontainer != null) {
         string filename = pathHelper.ToFilePath(Name);
         texcontainer.Save(filename);
     }
 }
        void OnWizardCreate()
        {
            string targetFilePath = EditorUtility.SaveFilePanel("Save scene", FileHelper.lastExportPath, "", "json");
            if (targetFilePath == "") {
                // cancel 버튼 처리
                return;
            }

            var pathHelper = new ExportPathHelper(targetFilePath);
            FileHelper.lastExportPath = pathHelper.RootPath;
            Report.rootPath = pathHelper.RootPath;

            var report = Report.Instance();
            report.Level = level;
            report.UseConsole = useConsole;

            //Debug.Log(string.Format("Exporting scene: {0}", EditorApplication.currentScene));
            Debug.Log(string.Format("Platform: {0}", SystemInfo.operatingSystem));
            Debug.Log(string.Format("Unity player: {0}", Application.unityVersion));

            var exporter = new SceneExporter(gameObjects, targetFilePath);
            exporter.Export();
        }
 static ExportPathHelper()
 {
     Instance = new ExportPathHelper();
 }
        public void Init()
        {
            string targetFilePath = @"c:\hello\world\sample.json";

            helper = new ExportPathHelper(targetFilePath);
        }