Exemplo n.º 1
0
        /// <summary>
        /// Do the callback for delegate: IAP.OnRestoredHandler
        /// </summary>
        private static void DoOnRestoreComplete(bool result, IAPFail fail)
        {
            if (onRestoreComplete != null)
            {
                onRestoreComplete(result, fail);
            }

            onRestoreComplete = null;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Do the callback for delegate: IAP.OnPurchasedHandler
        /// </summary>
        private static void DoOnIAPComplete(IAPSuccess success, IAPFail fail)
        {
            if (onPurchaseComplete != null)
            {
                onPurchaseComplete(success, fail);
            }

            onPurchaseComplete = null;
        }