public string getConfigValue(string key) //QuickSDK版本 { #if UNITY_ANDROID && !UNITY_EDITOR QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance(); return(androidSupport.getConfigValue(key)); #else return(""); #endif }
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 }