예제 #1
0
 /// <summary>
 /// Returns whether or not an ad is available.
 /// </summary>
 /// <returns><c>true</c>, if an ad is available, <c>false</c> otherwise.</returns>
 public static bool IsAvailable()
 {
     #if UNITY_ANDROID
     return(HZInterstitialAdAndroid.IsAvailable());
     #elif UNITY_IPHONE && !UNITY_EDITOR
     return(HZInterstitialAdIOS.IsAvailable());
     #else
     return(false);
     #endif
 }
예제 #2
0
        /// <summary>
        /// Returns whether or not an ad is available for the given ad tag.
        /// </summary>
        /// <returns><c>true</c>, if an ad is available, <c>false</c> otherwise.</returns>
        public static bool IsAvailable(string tag)
        {
            tag = HeyzapAds.TagForString(tag);

            #if UNITY_ANDROID
            return(HZInterstitialAdAndroid.IsAvailable(tag));
            #elif UNITY_IPHONE && !UNITY_EDITOR
            return(HZInterstitialAdIOS.IsAvailable(tag));
            #else
            return(false);
            #endif
        }
예제 #3
0
 // Token: 0x060000D5 RID: 213 RVA: 0x0000393D File Offset: 0x00001B3D
 public static bool IsAvailable(string tag)
 {
     tag = HeyzapAds.TagForString(tag);
     return(HZInterstitialAdAndroid.IsAvailable(tag));
 }