示例#1
0
 public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info)
 {
     if (this.SaveOnExport)
     {
         SaveToFile();
     }
     return(base.OnExport(info));
 }
示例#2
0
        /// <summary>
        /// Called when exporting the scene to engine archive. base implemenation calls function on engine object which in turn
        /// serializes itself
        /// </summary>
        /// <returns></returns>
        public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info)
        {
            if (Filename != "")
            {
                string absoluteFileName = EditorManager.Project.MakeAbsolute(Filename);

                if (UIDialogInstance.BuildToXML(absoluteFileName) == false)
                {
                    EditorManager.ShowMessageBox("Cannot export dialog file");
                }
            }

            return(base.OnExport(info));
        }
示例#3
0
 /// <summary>
 /// Called when exporting the scene to engine archive. base implemenation calls function on engine object which in turn
 /// serializes itself
 /// </summary>
 /// <returns></returns>
 public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info)
 {
     return(base.OnExport(info));
 }
示例#4
0
 public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info)
 {
     UpdateCubemap();
     return(base.OnExport(info));
 }