예제 #1
0
        public string getConfigValue(string key)      //QuickSDK版本
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            return(androidSupport.getConfigValue(key));
#else
            return("");
#endif
        }
예제 #2
0
        public string getConfigValue(string key)              //QuickSDK版本
        {
#if UNITY_IOS && !UNITY_EDITOR
            IntPtr intPtr = quicksdk_nativeGetConfigValue(key);
            return(Marshal.PtrToStringAnsi(intPtr));
#elif UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            return(androidSupport.getConfigValue(key));
#else
            return("");
#endif
        }