Exemple #1
0
        public static bool isEnabled()
        {
            if (IsEditor())
            {
                return(false);
            }

            #if UNITY_IOS
            return(AdjustiOS.IsEnabled());
            #elif UNITY_ANDROID
            return(AdjustAndroid.IsEnabled());
            #elif (UNITY_WSA || UNITY_WP8)
            return(AdjustWindows.IsEnabled());
            #else
            Debug.Log(errorMsgPlatform);
            return(false);
            #endif
        }