/// <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; }
/// <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; }