Class EconomyInstance
Namespace: Unity.Services.Economy
Syntax
public class EconomyInstance : IEconomyService
Properties
Configuration
The Configuration methods allow you to access the global Economy configuration for your game.
Declaration
public IEconomyConfigurationApiClient Configuration { get; }
Property Value
| Type | Description |
|---|---|
| IEconomyConfigurationApiClient |
Implements
PlayerBalances
The PlayerBalances methods provide access to the current player's balances, and allow you to update them.
Declaration
public IEconomyPlayerBalancesApiClient PlayerBalances { get; }
Property Value
| Type | Description |
|---|---|
| IEconomyPlayerBalancesApiClient |
Implements
PlayerInventory
The PlayerInventory methods provide access to the current player's inventory items, and allow you to update them.
Declaration
public IEconomyPlayerInventoryApiClient PlayerInventory { get; }
Property Value
| Type | Description |
|---|---|
| IEconomyPlayerInventoryApiClient |
Implements
Purchases
The Purchases methods allow you to make virtual and real world purchases.
Declaration
public IEconomyPurchasesApiClientApi Purchases { get; }
Property Value
| Type | Description |
|---|---|
| IEconomyPurchasesApiClientApi |