docs.unity3d.com
    Show / Hide Table of Contents

    Class EconomyInstance

    Inheritance
    Object
    EconomyInstance
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    IEconomyService.Configuration

    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
    IEconomyService.PlayerBalances

    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
    IEconomyService.PlayerInventory

    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.Purchases
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023