Example #1
0
        private void checkConsistency()
        {
            if (debugOptions == null)
            {
                debugOptions = new DebugSettings();
            }

            if (languageFile == null)
            {
                languageFile = ReleaseFolders.getLanguageFilePath(ReleaseFolders.LANGUAGE_ENGLISH);
            }
            if (aboutFile == null)
            {
                aboutFile = "Assets/uAdventure/Resources/" + ReleaseFolders.LANGUAGE_DIR_EDITOR + "/" + ReleaseFolders.getDefaultAboutFilePath();
            }
            if (loadingImage == null)
            {
                loadingImage = "Assets/uAdventure/Resources/" + ReleaseFolders.IMAGE_LOADING_DIR + " / " + Controller.Instance.getDefaultLanguage() + "/Editor2D-Loading.png";
            }
        }
Example #2
0
        private void checkConsistency()
        {
            if (debugOptions == null)
            {
                debugOptions = new DebugSettings();
            }

            if (languageFile == null)
            {
                languageFile = ReleaseFolders.getLanguageFilePath(ReleaseFolders.LANGUAGE_ENGLISH);
            }
            if (aboutFile == null)
            {
                aboutFile = "Assets/Resources/" + ReleaseFolders.LANGUAGE_DIR_EDITOR + "/" + ReleaseFolders.getDefaultAboutFilePath();
            }
            if (loadingImage == null)
            {
                loadingImage = "Assets/Resources/" + ReleaseFolders.IMAGE_LOADING_DIR + " / " + Controller.getInstance().getDefaultLanguage() + "/Editor2D-Loading.png";
            }
            if (exportsPath == null)
            {
            }
            if (projectsPath == null)
            {
            }
            if (reportsPath == null)
            {
            }
            if (recentFiles == null)
            {
                recentFiles = new RecentFiles(new Properties(instance.configFile));
            }
        }