Method SetFetchPurchasesExcludeDeferred
SetFetchPurchasesExcludeDeferred(bool)
Set behavior when fetching deferred purchases. Use before calling UnityPurchasing.Initialize.Initialize
.
Exclude to prevent deferred purchases from being fetched and processed by IStoreListener.ProcessPurchase.ProcessPurchase
at initialization.
When false, deferred purchases need to be handled in IStoreListener.ProcessPurchase.ProcessPurchase
to prevent granting unpaid purchases.
Default is true
.
Declaration
void SetFetchPurchasesExcludeDeferred(bool exclude)
Parameters
Type | Name | Description |
---|---|---|
bool | exclude |