public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info) { if (this.SaveOnExport) { SaveToFile(); } return(base.OnExport(info)); }
/// <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)); }
/// <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)); }
public override bool OnExport(CSharpFramework.Scene.SceneExportInfo info) { UpdateCubemap(); return(base.OnExport(info)); }