public string channelVersion() //获取渠道版本 { #if UNITY_ANDROID && !UNITY_EDITOR QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance(); return(androidSupport.getChannelVersion()); #else return(""); #endif }
public string channelVersion() //获取渠道版本 { #if UNITY_IOS && !UNITY_EDITOR IntPtr intPtr = quicksdk_nativeChannelVersion(); return(Marshal.PtrToStringAnsi(intPtr)); #elif UNITY_ANDROID && !UNITY_EDITOR QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance(); return(androidSupport.getChannelVersion()); #else return(""); #endif }