Beispiel #1
0
        public void CopyFrom(Settings settings)
        {
            // cannot overwrite the object (due to binding) so copy over the data
            MorphemeConnectPath            = settings.MorphemeConnectPath;
            RuntimeSDKRoot                 = settings.RuntimeSDKRoot;
            ExportRootPath                 = settings.ExportRootPath;
            AssetCompilerCommandLine       = settings.AssetCompilerCommandLine;
            PreProcessCommand              = settings.PreProcessCommand;
            PostProcessCommand             = settings.PostProcessCommand;
            UseDynamicAssetCompilerPlugins = settings.UseDynamicAssetCompilerPlugins;

            Platforms.Clear();

            foreach (PlatformConfiguration platform in settings.Platforms)
            {
                platform.UseDuringExport = true; // the flag to use this platform is not part of the config, default to true

                Platforms.Add(platform);
            }
        }