public static SettingsProvider CreateServicesProvider() { SettingsProvider projectSettings = null; if (ShouldShowBuiltInProjectSettings(AdsService.instance)) { projectSettings = new AdsProjectSettings(AdsService.instance.projectSettingsPath, SettingsScope.Project); } else if (ShouldShowFallbackProjectSettings(AdsService.instance)) { projectSettings = new FallbackProjectSettings(AdsService.instance, SettingsScope.Project); } return(projectSettings); }
public static SettingsProvider CreateServicesProvider() { SettingsProvider projectSettings = null; if (ShouldShowBuiltInProjectSettings(AnalyticsService.instance)) { projectSettings = new AnalyticsProjectSettings(k_ProjectSettingsPath, SettingsScope.Project, new List <string>() { L10n.Tr(k_KeywordAnalytics), L10n.Tr(k_KeywordInsights), L10n.Tr(k_KeywordEvents), L10n.Tr(k_KeywordMonetization), L10n.Tr(k_KeywordDashboard), L10n.Tr(k_KeywordValidator), }); } else if (ShouldShowFallbackProjectSettings(AnalyticsService.instance)) { projectSettings = new FallbackProjectSettings(AnalyticsService.instance, SettingsScope.Project); } return(projectSettings); }
public static SettingsProvider CreateServicesProvider() { SettingsProvider projectSettings = null; if (ShouldShowBuiltInProjectSettings(PurchasingService.instance)) { projectSettings = new PurchasingProjectSettings(k_ProjectSettingsPath, SettingsScope.Project, new List <string>() { L10n.Tr(k_KeywordPurchasing), L10n.Tr(k_KeywordInApp), L10n.Tr(k_KeywordPurchase), L10n.Tr(k_KeywordRevenue), L10n.Tr(k_KeywordPlatforms), L10n.Tr(k_KeywordGooglePlay), L10n.Tr(k_KeywordPublicKey) }); } else if (ShouldShowFallbackProjectSettings(PurchasingService.instance)) { projectSettings = new FallbackProjectSettings(PurchasingService.instance, SettingsScope.Project); } return(projectSettings); }