Пример #1
0
        public static string getIdfa()
        {
            if (IsEditor())
            {
                return(string.Empty);
            }

            #if UNITY_IOS
            return(AdjustiOS.GetIdfa());
            #elif UNITY_ANDROID
            Debug.Log("Adjust: Error! IDFA is not available on Android platform.");
            return(string.Empty);
            #elif (UNITY_WSA || UNITY_WP8)
            Debug.Log("Adjust: Error! IDFA is not available on Windows platform.");
            return(string.Empty);
            #else
            Debug.Log(errorMsgPlatform);
            return(string.Empty);
            #endif
        }