public static void destroy() { #if UNITY_ANDROID HZBannerAdAndroid.destroy(); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZBannerAdIOS.destroy(); #endif }
public static void hide() { #if UNITY_ANDROID HZBannerAdAndroid.hide(); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZBannerAdIOS.hide(); #endif }
public static void show(string position) { #if UNITY_ANDROID HZBannerAdAndroid.show(position, ""); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZBannerAdIOS.show(position, ""); #endif }
public static void showWithTag(string position, string tag) { #if UNITY_ANDROID HZBannerAdAndroid.show(position, tag); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZBannerAdIOS.show(position, tag); #endif }
public static bool getCurrentBannerDimensions(out Rect banner) { #if UNITY_ANDROID return(HZBannerAdAndroid.getCurrentBannerDimensions(out banner)); #elif UNITY_IPHONE && !UNITY_EDITOR return(HZBannerAdIOS.getCurrentBannerDimensions(out banner)); #else banner = new Rect(0, 0, 0, 0); return(false); #endif }