/// Determines if IronSource plugin is available. /// </summary> public static bool IsIronSourceAvail() { if (!EM_Settings.Advertising.IronSource.Enable) { return(false); } return(EM_EditorUtil.FindClass(IronSourceClassname) != null); }
/// Determindes if UnityAds plugin is available. /// </summary> /// <returns><c>true</c> if UnityAds plugin is available, otherwise <c>false</c>.</returns> public static bool IsUnityAdAvail() { if (!EM_Settings.Advertising.UnityAds.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(UnityAdNameSpace) && EM_EditorUtil.FindClass(UnityAdvertisementClass, UnityAdNameSpace) != null); }
/// <summary> /// Determines if MoPub plugin is available. /// </summary> /// <returns><c>true</c> if MoPub plugin is available; otherwise, <c>false</c>.</returns> public static bool IsMoPubAvail() { if (!EM_Settings.Advertising.MoPub.Enable) { return(false); } return(EM_EditorUtil.FindClass(MoPubClassName) != null); }
/// <summary> /// Determines if AppLovin plugin is available. /// </summary> /// <returns><c>true</c> if AppLovin plugin available; otherwise, <c>false</c>.</returns> public static bool IsAppLovinAvail() { if (!EM_Settings.Advertising.AppLovin.Enable) { return(false); } return(EM_EditorUtil.FindClass(AppLovinClassName) != null); }
//Determindes if Vungle plugin is available. /// </summary> /// <returns><c>true</c> if Vungle plugin is available, otherwise <c>false</c>.</returns> public static bool IsVungleAvail() { if (!EM_Settings.Advertising.VungleAds.Enable) { return(false); } return(EM_EditorUtil.FindClass(VungleClassName) != null); }
/// <summary> /// Determines if Chartboost plugin is available. /// </summary> /// <returns><c>true</c> if Chartboost plugin available; otherwise, <c>false</c>.</returns> public static bool IsChartboostAvail() { if (!EM_Settings.Advertising.Chartboost.Enable) { return(false); } System.Type chartboost = EM_EditorUtil.FindClass(ChartboostClassName, ChartboostNameSpace); return(chartboost != null); }
public static bool IsPlayServicesResolverImported() { var imported = EM_ProjectSettings.Instance.GetBool(EM_Constants.PSK_ImportedPlayServicesResolver, false); var iosResolver = EM_EditorUtil.FindClass(IosResolverClass, GoogleNameSpace); var jarResolver = EM_EditorUtil.FindClass(JarResolverDependencyClass, JarResolverNamespace); var packageResolver = EM_EditorUtil.FindClass(PackageManagerResolverClass, GoogleNameSpace); return(iosResolver != null || jarResolver != null || packageResolver != null || imported); }
public static bool IsPlayMakerUguiAddOnAvail() { System.Type uGui = EM_EditorUtil.FindClass(PlayMakerUguiAddOnClass); return(uGui != null); }
/// <summary> /// Determines if FirebaseMessaging plugin is available. /// </summary> public static bool IsFirebaseMessagingAvail() { System.Type firMsg = EM_EditorUtil.FindClass(FirebaseMessagingClassName, FirebaseMessagingNameSpace); return(firMsg != null); }
/// <summary> /// Determines if OneSignal plugin is available. /// </summary> /// <returns><c>true</c> if is one signal avail; otherwise, <c>false</c>.</returns> public static bool IsOneSignalAvail() { System.Type oneSignal = EM_EditorUtil.FindClass(OneSignalClassName); return(oneSignal != null); }
/// <summary> /// Determines if GooglePlayGames plugin is available. /// </summary> /// <returns><c>true</c> if is GPGS avail; otherwise, <c>false</c>.</returns> public static bool IsGPGSAvail() { System.Type gpgs = EM_EditorUtil.FindClass(GPGSClassName, GPGSNameSpace); return(gpgs != null); }
/// <summary> /// Determines if Chartboost plugin is available. /// </summary> /// <returns><c>true</c> if is chartboost avail; otherwise, <c>false</c>.</returns> public static bool IsChartboostAvail() { System.Type chartboost = EM_EditorUtil.FindClass(ChartboostClassName, ChartboostNameSpace); return(chartboost != null); }
/// Determines if IronSource plugin is available. /// </summary> public static bool IsIronSourceAvail() { return(EM_EditorUtil.FindClass(IronSourceClassname) != null); }
/// <summary> /// Determines if MoPub plugin is available. /// </summary> /// <returns><c>true</c> if MoPub plugin is available; otherwise, <c>false</c>.</returns> public static bool IsMoPubAvail() { return(EM_EditorUtil.FindClass(MoPubClassName) != null); }
/// <summary> /// Determines if AppLovin plugin is available. /// </summary> /// <returns><c>true</c> if AppLovin plugin available; otherwise, <c>false</c>.</returns> public static bool IsAppLovinAvail() { return(EM_EditorUtil.FindClass(AppLovinClassName) != null); }