v3.1.2
2020.3+

Class EconomyInstance

Inheritance
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
TypeDescription
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
TypeDescription
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
TypeDescription
IEconomyPlayerInventoryApiClient
Implements

Purchases

The Purchases methods allow you to make virtual and real world purchases.

Declaration
public IEconomyPurchasesApiClientApi Purchases { get; }
Property Value
TypeDescription
IEconomyPurchasesApiClientApi
Implements