Пример #1
0
        public string SDKVersion()      //QuickSDK版本
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            return(androidSupport.getSDKVersion());
#else
            return("");
#endif
        }
Пример #2
0
        public string SDKVersion()              //QuickSDK版本
        {
#if UNITY_IOS && !UNITY_EDITOR
            IntPtr intPtr = quicksdk_nativeSDKVersion();
            return(Marshal.PtrToStringAnsi(intPtr));
#elif UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            return(androidSupport.getSDKVersion());
#else
            return("");
#endif
        }