internal static SettingsProvider CreateProjectConfigurationProvider() { var assetPath = AssetDatabase.GetAssetPath(AssetDataHelper.GetProjectConfigurationData()); var keywords = SettingsProvider.GetSearchKeywordsFromPath(assetPath); return(AssetSettingsProvider.CreateProviderFromAssetPath( "Project/App-Project Configuration", assetPath, keywords)); }
static void LoadConfiguration() { projectConfiguration = AssetDataHelper.GetProjectConfigurationData(); Selection.activeObject = AssetDatabase.LoadMainAssetAtPath(AssetDataHelper.DATABASE_PATH_PROJECT_CONFIGURATIONS); if (projectConfiguration == null) { CreateConfiguration(); } // select the .asset file EditorGUIUtility.PingObject(projectConfiguration); // focus the project window EditorUtility.FocusProjectWindow(); }
public static void ProjectConfigurationDataFile() { projectConfigurationData = AssetDataHelper.GetProjectConfigurationData(); LoadData(ref projectConfigurationData, AssetDataHelper.DATABASE_PATH_PROJECT_CONFIGURATIONS); }