Class Economy
Namespace: Unity.Services.Economy
Syntax
public static class Economy : object
Fields
Configuration
The Configuration methods allow you to access the global Economy configuration for your game.
Declaration
public static Configuration Configuration
Field Value
| Type | Description |
|---|---|
| Configuration |
PlayerBalances
The PlayerBalances methods provide access to the current player's balances, and allow you to update them.
Declaration
public static PlayerBalances PlayerBalances
Field Value
| Type | Description |
|---|---|
| PlayerBalances |
PlayerInventory
The PlayerInventory methods provide access to the current player's inventory items, and allow you to update them.
Declaration
public static PlayerInventory PlayerInventory
Field Value
| Type | Description |
|---|---|
| PlayerInventory |
Purchases
The Purchases methods allow you to make virtual and real world purchases.
Declaration
public static Purchases Purchases
Field Value
| Type | Description |
|---|---|
| Purchases |