コード例 #1
0
ファイル: HZVideoAd.cs プロジェクト: taocong810/WordSearch
        /// <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(HZVideoAdAndroid.IsAvailable(tag));
            #elif UNITY_IPHONE && !UNITY_EDITOR
            return(HZVideoAdIOS.IsAvailable(tag));
            #else
            return(false);
            #endif
        }
コード例 #2
0
 // Token: 0x06000102 RID: 258 RVA: 0x00003DC1 File Offset: 0x00001FC1
 public static bool IsAvailable(string tag)
 {
     tag = HeyzapAds.TagForString(tag);
     return(HZVideoAdAndroid.IsAvailable(tag));
 }