/// <summary> /// Determines if AdColony plugin is available. /// </summary> /// <returns><c>true</c> if AdColony plugin available; otherwise, <c>false</c>.</returns> public static bool IsAdColonyAvail() { if (!EM_Settings.Advertising.AdColony.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(AdColonyNameSpace)); }
/// Determines if Unity Monetization plugin is available. /// </summary> /// <returns><c>true</c> if Unity Monetization plugin is available, otherwise <c>false</c>.</returns> public static bool IsUnityMonetizationAvail() { if (!EM_Settings.Advertising.UnityAds.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(UnityMonetizationClass)); }
/// <summary> /// Determines if FairBid plugin is available. /// </summary> /// <returns><c>true</c> if FairBid plugin available; otherwise, <c>false</c>.</returns> public static bool IsFairBidAvail() { if (!EM_Settings.Advertising.FairBid.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(FairBidNameSpace)); }
/// Determindes if TapJoy plugin is available. /// </summary> /// <returns><c>true</c> if TapJoy plugin is available, otherwise <c>false</c>.</returns> public static bool IsTapJoyAvail() { if (!EM_Settings.Advertising.Tapjoy.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(TapJoyNameSpace)); }
/// <summary> /// Determines if AdMob plugin is available. /// </summary> /// <returns><c>true</c> if AdMob plugin available; otherwise, <c>false</c>.</returns> public static bool IsAdMobAvail() { if (!EM_Settings.Advertising.AdMob.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(GoogleMobileAdsNameSpace)); }
/// <summary> /// Determines if Facebook Audience Network plugin is available. /// </summary> /// <returns></returns> public static bool IsFBAudienceAvail() { if (!EM_Settings.Advertising.AudienceNetwork.Enable) { return(false); } return(EM_EditorUtil.NamespaceExists(FBAudienceNameSpace)); }
/// 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 UnityIAP is enabled. /// </summary> /// <returns><c>true</c> if enabled; otherwise, <c>false</c>.</returns> public static bool IsUnityIAPAvail() { // System.Type purchasing = EM_EditorUtil.FindClass(UnityPurchasingClassName, UnityPurchasingNameSpace, UnityPurchasingAssemblyName); // return purchasing != null; // Here we check for the existence of the Security namespace instead of UnityPurchasing class in order to // make sure that the plugin is actually imported (rather than the service just being enabled). return(EM_EditorUtil.NamespaceExists(UnityPurchasingSecurityNameSpace)); }
/// <summary> /// Determines if UnityIAP is enabled. /// </summary> /// <returns><c>true</c> if enabled; otherwise, <c>false</c>.</returns> public static bool IsUnityIAPAvail() { // Here we check for the existence of the Security namespace instead of UnityPurchasing class in order to // make sure that the plugin is actually imported (rather than the service just being enabled). return(EM_EditorUtil.NamespaceExists(UnityPurchasingSecurityNameSpace)); }
public static bool IsHeyzapAvail() { return(EM_EditorUtil.NamespaceExists(HeyzapNameSpace)); }
/// <summary> /// Determines if AdMob plugin is available. /// </summary> /// <returns><c>true</c> if is ad mob avail; otherwise, <c>false</c>.</returns> public static bool IsAdMobAvail() { return(EM_EditorUtil.NamespaceExists(GoogleMobileAdsNameSpace)); }
/// <summary> /// Determines if AdColony plugin is available. /// </summary> /// <returns><c>true</c> if AdColony plugin available; otherwise, <c>false</c>.</returns> public static bool IsAdColonyAvail() { return(EM_EditorUtil.NamespaceExists(AdColonyNameSpace)); }
/// Determines if Unity Monetization plugin is available. /// </summary> /// <returns><c>true</c> if Unity Monetization plugin is available, otherwise <c>false</c>.</returns> public static bool IsUnityMonetizationAvail() { return(EM_EditorUtil.NamespaceExists(UnityMonetizationClass)); }
/// Determindes if TapJoy plugin is available. /// </summary> /// <returns><c>true</c> if TapJoy plugin is available, otherwise <c>false</c>.</returns> public static bool IsTapJoyAvail() { return(EM_EditorUtil.NamespaceExists(TapJoyNameSpace)); }
/// <summary> /// Determines if Facebook Audience Network plugin is available. /// </summary> /// <returns></returns> public static bool IsFBAudienceAvail() { return(EM_EditorUtil.NamespaceExists(FBAudienceNameSpace)); }
/// <summary> /// Determines if URP is in use. /// </summary> /// <returns><c>true</c> if URP is not used; otherwise, <c>false</c>.</returns> public static bool IsUsingURP() { return(EM_EditorUtil.NamespaceExists(URPNamespace)); }