Esempio n. 1
0
        public void pay(OrderInfo orderInfo, GameRoleInfo gameRoleInfo)
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            androidSupport.pay(orderInfo, gameRoleInfo);
#endif
        }
Esempio n. 2
0
        public void pay(OrderInfo orderInfo, GameRoleInfo gameRoleInfo)
        {
#if UNITY_IOS && !UNITY_EDITOR
            quicksdk_nativePay(orderInfo.goodsID, orderInfo.goodsName, orderInfo.goodsDesc, orderInfo.quantifier, orderInfo.cpOrderID, orderInfo.callbackUrl, orderInfo.extrasParams, orderInfo.price, orderInfo.amount, orderInfo.count,
                               gameRoleInfo.serverID, gameRoleInfo.serverName, gameRoleInfo.gameRoleName, gameRoleInfo.gameRoleID, gameRoleInfo.gameRoleBalance, gameRoleInfo.vipLevel, gameRoleInfo.gameRoleLevel, gameRoleInfo.partyName);
#elif UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            androidSupport.pay(orderInfo, gameRoleInfo);
#endif
        }