Esempio n. 1
0
 private void OnExportConstantsUnreal4(object sender, EventArgs e)
 {
     if (ResourcesHandler.Project != null)
     {
         if (ExporterConstants.ExportToUnreal4())
             EditorCore.LogInfo("Export Constants Finished");
     }
 }
Esempio 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();
        }