Esempio n. 1
0
        public static bool ImportSeparately(string[] sourceFullNames, bool looseFileMatching)
        {
            bool rc = false;

            // Import all previously imported assets
            ImportPrevious(sourceFullNames, looseFileMatching);
            if (mInvalidAssetNames.Count > 0)
            {
                DialogResult result = DialogResult.Ignore;

                // Has the user told us to only start with the MOG asset Imorter
                string StartInAdvancedMode = MogUtils_Settings.LoadSetting("ImportWizard", "StartupMode");
                if (StartInAdvancedMode != "Advanced")
                {
                    // Try running the import wizard first
                    rc = ImportWithWizard(sourceFullNames, out result);
                }

                // Did the user descide to use the MOG Asset Importer
                if (result == DialogResult.Ignore)
                {
                    rc = ImportWithMOGAssetImporter();
                }
            }

            return(rc);
        }