Esempio n. 1
0
    public static void setUserIdentifier(string identifier)
    {
    #if UNITY_ANDROID
        HZIncentivizedAdAndroid.setUserIdentifier(identifier);
    #endif

    #if UNITY_IPHONE && !UNITY_EDITOR
        HZIncentivizedAdIOS.setUserIdentifier(identifier);
    #endif
    }
Esempio n. 2
0
 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
 }
Esempio n. 3
0
    public static void hide()
    {
    #if UNITY_ANDROID
        HZIncentivizedAdAndroid.hide();
    #endif

    #if UNITY_IPHONE
        HZIncentivizedAdIOS.hide();
    #endif
    }
Esempio n. 4
0
    public static void fetch(string tag = "default")
    {
    #if UNITY_ANDROID
        HZIncentivizedAdAndroid.fetch(tag);
    #endif

    #if UNITY_IPHONE && !UNITY_EDITOR
        HZIncentivizedAdIOS.fetch(tag);
    #endif
    }
Esempio n. 5
0
    public static void show(string tag = "default")
    {
    #if UNITY_ANDROID
        HZIncentivizedAdAndroid.show(tag);
    #endif

    #if UNITY_IPHONE
        HZIncentivizedAdIOS.show(tag);
    #endif
    }