Ejemplo n.º 1
0
 private void OnExportConstantsUnreal4(object sender, EventArgs e)
 {
     if (ResourcesHandler.Project != null)
     {
         if (ExporterConstants.ExportToUnreal4())
             EditorCore.LogInfo("Export Constants Finished");
     }
 }
Ejemplo n.º 2
0
        //--------------------------------------------------------------------------------------------------------------
        // Exports

        static public void SaveProjectFile(Project project)
        {
            //PreSave
            project.PreSave();

            //Serialize
            string path = Path.Combine(EditorHelper.GetProjectDirectory(), project.GetFileName());

            SerializeToFile(path, project);

            ExporterConstants.ExportToUnreal4();
        }