Esempio n. 1
0
        /// <summary>
        /// 支付
        /// </summary>
        /// <param name="pay"></param>
        public void sdkPay(IPay pay, SinglePaySuccessCallback msinglePaySuccess = null)
        {
            this.mSinglePaySuccessCallback = msinglePaySuccess;

#if UNITY_IPHONE
            pay.registerMessageReceiver(this.gameObject.name);
#endif
            pay.pay();
        }