Class CodelessIAPButton
A GUI component for exposing the current price and allow purchasing of In-App Purchases. Exposes configurable elements through the Inspector.
Inherited Members
Namespace: UnityEngine .Purchasing
Assembly: solution.dll
Syntax
[AddComponentMenu("In-App Purchasing/IAP Button")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.purchasing@latest")]
public class CodelessIAPButton : BaseIAPButton
Fields
Name | Description |
---|---|
button | |
button |
The type of this button, can be either a purchase or a restore button. |
consume |
Consume the product immediately after a successful purchase. |
on |
Event fired after a successful fetching the product information from the store. |
on |
Event fired after a successful purchase of this product. |
on |
Event fired after a failed purchase of this product. |
on |
Event fired after a restore transactions. |
product |
Which product identifier to represent. Note this is not a store-specific identifier. |
Methods
Name | Description |
---|---|
Add |
|
Get |
|
Is |
|
On |
|
On |
Invoked on a failed purchase of the product associated with this button |
On |
|
Process |
Invoke to process a successful purchase of the product associated with this button. |
Remove |
|
Should |