/// <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 }
/// <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 }
// Token: 0x060000D5 RID: 213 RVA: 0x0000393D File Offset: 0x00001B3D public static bool IsAvailable(string tag) { tag = HeyzapAds.TagForString(tag); return(HZInterstitialAdAndroid.IsAvailable(tag)); }