Méthode | Description | |
---|---|---|
FinishTransaction ( ProductDefinition product, string transactionId ) : void |
Called when Unity IAP has finished processing a purchase.
|
|
Initialize ( IStoreCallback callback ) : void |
Called when Unity IAP is initializing.
|
|
Purchase ( ProductDefinition product, string developerPayload ) : void |
Called when a user wants to buy the specified Product.
|
|
RetrieveProducts ( ReadOnlyCollection |
Méthode | Description | |
---|---|---|
AbstractStore ( ) : System |
public abstract FinishTransaction ( ProductDefinition product, string transactionId ) : void | ||
product | ProductDefinition | The product that was purchased. |
transactionId | string | The transaction ID for the purchase. |
Résultat | void |
public abstract Initialize ( IStoreCallback callback ) : void | ||
callback | IStoreCallback | Callback for stores to interact with Unity IAP. |
Résultat | void |
public abstract Purchase ( ProductDefinition product, string developerPayload ) : void | ||
product | ProductDefinition | The product to purchase. |
developerPayload | string | Any additional developer-supplied data. |
Résultat | void |
public abstract RetrieveProducts ( ReadOnlyCollection |
||
products | ReadOnlyCollection |
|
Résultat | void |