示例#1
0
        public string channelVersion()       //获取渠道版本
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            return(androidSupport.getChannelVersion());
#else
            return("");
#endif
        }
示例#2
0
        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
        }