public static bool isAvailable(string tag = "default") { #if UNITY_ANDROID return(HZInterstitialAdAndroid.isAvailable(tag)); #elif UNITY_IPHONE && !UNITY_EDITOR return(HZInterstitialAdIOS.isAvailable(tag)); #else return(false); #endif }
public static void hide() { #if UNITY_ANDROID HZInterstitialAdAndroid.hide(); #endif #if UNITY_IPHONE HZInterstitialAdIOS.hide(); #endif }
public static void fetch(string tag = "default") { #if UNITY_ANDROID HZInterstitialAdAndroid.fetch(tag); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZInterstitialAdIOS.fetch(tag); #endif }
public static void show(string tag = "default") { #if UNITY_ANDROID HZInterstitialAdAndroid.show(tag); #endif #if UNITY_IPHONE HZInterstitialAdIOS.show(tag); #endif }