Пример #1
0
 public static bool isAvailable(string tag = "default")
 {
 #if UNITY_ANDROID
     return(HZVideoAdAndroid.isAvailable(tag));
 #elif UNITY_IPHONE && !UNITY_EDITOR
     return(HZVideoAdIOS.isAvailable(tag));
 #else
     return(false);
 #endif
 }
Пример #2
0
    public static void hide()
    {
    #if UNITY_ANDROID
        HZVideoAdAndroid.hide();
    #endif

    #if UNITY_IPHONE
        HZVideoAdIOS.hide();
    #endif
    }
Пример #3
0
    public static void fetch(string tag = "default")
    {
    #if UNITY_ANDROID
        HZVideoAdAndroid.fetch(tag);
    #endif

    #if UNITY_IPHONE && !UNITY_EDITOR
        HZVideoAdIOS.fetch(tag);
    #endif
    }
Пример #4
0
    public static void show(string tag = "default")
    {
    #if UNITY_ANDROID
        HZVideoAdAndroid.show(tag);
    #endif

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