Class DemoInventory
Mock game inventory mechanism that logs completion (a.k.a fulfillment) of a product transaction.
Inherited Members
Namespace: UnityEngine.Purchasing
Syntax
[AddComponentMenu("")]
public class DemoInventory : MonoBehaviour
Methods
Fulfill(String)
Log 100.gold.coin
completion (aka fulfillment) of a product purchase transaction.
Declaration
public void Fulfill(string productId)
Parameters
Type | Name | Description |
---|---|---|
String | productId |