Exemplo n.º 1
0
        public static void trackAdRevenue(string source, string payload)
        {
            if (IsEditor())
            {
                return;
            }

            #if UNITY_IOS
            AdjustiOS.TrackAdRevenue(source, payload);
            #elif UNITY_ANDROID
            AdjustAndroid.TrackAdRevenue(source, payload);
            #elif (UNITY_WSA || UNITY_WP8)
            Debug.Log("Ad revenue tracking is only supported for Android and iOS platforms.")
            #else
            Debug.Log(errorMsgPlatform);
            #endif
        }
Exemplo n.º 2
0
        public static void trackAdRevenue(AdjustAdRevenue adRevenue)
        {
            if (IsEditor())
            {
                return;
            }

#if UNITY_IOS
            AdjustiOS.TrackAdRevenue(adRevenue);
#elif UNITY_ANDROID
            AdjustAndroid.TrackAdRevenue(adRevenue);
#elif (UNITY_WSA || UNITY_WP8)
            Debug.Log("[Adjust]: Ad revenue tracking is only supported for Android and iOS platforms.");
#else
            Debug.Log(errorMsgPlatform);
#endif
        }