Example #1
0
        public void Save(string fileName)
        {
            if (FileRelativeTextures)
            {
                MakeRelative(fileName);
            }

            FileManager.XmlSerialize(this, fileName);
        }
Example #2
0
        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);
        }