예제 #1
0
        //--------------------------------------------------------------------------------------------------------------
        // Imports

        static public void LoadProjectFile(Project project)
        {
            //Deserialize
            string path = Path.Combine(EditorHelper.GetProjectDirectory(), project.GetFileName());

            DeserializeFromFile(path, project);
        }
예제 #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();
        }