public void Save(string fileName) { if (FileRelativeTextures) { MakeRelative(fileName); } FileManager.XmlSerialize(this, fileName); }
public void Save(string fileName) { #if FRB_MDX CoordinateSystem = FlatRedBall.Math.CoordinateSystem.LeftHanded; #else CoordinateSystem = FlatRedBall.Math.CoordinateSystem.RightHanded; #endif if (AssetsRelativeToSceneFile) { MakeAssetsRelative(fileName); } AssignNamesIfEmptyOrNull(); FileManager.XmlSerialize(this, fileName); }