Пример #1
0
 /// 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);
 }
Пример #2
0
 /// 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);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <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);
 }
Пример #6
0
 /// <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);
 }
Пример #7
0
        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);
        }
Пример #8
0
        public static bool IsPlayMakerUguiAddOnAvail()
        {
            System.Type uGui = EM_EditorUtil.FindClass(PlayMakerUguiAddOnClass);

            return(uGui != null);
        }
Пример #9
0
 /// <summary>
 /// Determines if FirebaseMessaging plugin is available.
 /// </summary>
 public static bool IsFirebaseMessagingAvail()
 {
     System.Type firMsg = EM_EditorUtil.FindClass(FirebaseMessagingClassName, FirebaseMessagingNameSpace);
     return(firMsg != null);
 }
Пример #10
0
 /// <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);
 }
Пример #11
0
 /// <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);
 }
Пример #12
0
        /// <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);
        }
Пример #13
0
 /// Determines if IronSource plugin is available.
 /// </summary>
 public static bool IsIronSourceAvail()
 {
     return(EM_EditorUtil.FindClass(IronSourceClassname) != null);
 }
Пример #14
0
 /// <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);
 }
Пример #15
0
 /// <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);
 }