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