docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EconomyInstance

    Inheritance
    object
    EconomyInstance
    Implements
    IEconomyService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Economy
    Assembly: Unity.Services.Economy.dll
    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

    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

    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

    Purchases

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

    Declaration
    public IEconomyPurchasesApiClientApi Purchases { get; }
    Property Value
    Type Description
    IEconomyPurchasesApiClientApi

    Implements

    IEconomyService
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)